Commit graph

6 commits

Author SHA1 Message Date
Konstantin Shcheglov ebb3dea075 Set 'isSyntheticDefault' for default constructors.
R=ahe@google.com, paulberry@google.com, sigmund@google.com
BUG=

Review-Url: https://codereview.chromium.org/2981783002 .
2017-07-13 14:06:11 -07:00
Paul Berry 213c2080a5 Add type inference for while and do loops.
Analyzer does not type infer these constructs correctly (it uses an
empty context for the loop condition, instead of bool), so the tests
are in inference_new.

R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2954253002 .
2017-06-26 09:07:27 -07:00
Paul Berry 7b60c094d7 Implement type inference for conventional for-loops.
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2951033004 .
2017-06-23 05:36:41 -07:00
Paul Berry 28e742a31c Infer return types of closures (basic support).
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2878173002 .
2017-05-13 06:13:31 -07:00
Konstantin Shcheglov 6885aea0db Infer types of bool/null/string literals.
R=paulberry@google.com
BUG=

Review-Url: https://codereview.chromium.org/2849293002 .
2017-05-01 19:33:31 -07:00
Paul Berry a3311858a7 Introduce initial plumbing for type promotion in fasta.
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2829223007 .
2017-04-25 09:06:51 -07:00