Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Issue 1174643003: expose strong checker API, for use by analyzer_cli (Closed)

Created:
5 years, 6 months ago by Jennifer Messerly
Modified:
5 years, 6 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org, Paul Berry, pquitslund
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

expose strong checker API, for use by analyzer_cli most of the changes here are around making options sane(r), which fixes #204 R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/0ff64c1c9805e8fe6406e2acb05e34891d2f9f83

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -468 lines) Patch
M bin/devc.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M bin/edit_files.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M lib/config.dart View 1 chunk +0 lines, -26 lines 0 comments Download
M lib/devc.dart View 13 chunks +28 lines, -21 lines 0 comments Download
M lib/src/analysis_context.dart View 4 chunks +25 lines, -19 lines 0 comments Download
M lib/src/checker/checker.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M lib/src/checker/resolver.dart View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M lib/src/checker/rules.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/codegen/code_generator.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M lib/src/dependency_graph.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/info.dart View 1 2 3 chunks +1 line, -21 lines 0 comments Download
M lib/src/options.dart View 6 chunks +62 lines, -178 lines 0 comments Download
M lib/src/report.dart View 8 chunks +14 lines, -14 lines 0 comments Download
M lib/src/summary.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/testing.dart View 1 5 chunks +97 lines, -142 lines 0 comments Download
M lib/src/utils.dart View 1 1 chunk +1 line, -1 line 0 comments Download
A lib/strong_mode.dart View 1 2 1 chunk +211 lines, -0 lines 0 comments Download
M test/checker/inferred_type_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/checker/self_host_test.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M test/codegen_test.dart View 1 chunk +8 lines, -5 lines 0 comments Download
M test/dependency_graph_test.dart View 4 chunks +14 lines, -9 lines 0 comments Download
M test/end_to_end_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M test/report_test.dart View 2 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Jennifer Messerly
This is the dev_compiler side of changes (by far the bulk). Will link analyzer_cli changes ...
5 years, 6 months ago (2015-06-10 22:34:18 UTC) #4
Jennifer Messerly
https://github.com/dart-lang/analyzer_cli/commit/d6b65c4aaf84fbb78159f6ec649056b724c43dc1 shows the analyzer_cli side. Perhaps worth making a pull request for that, not sure. ...
5 years, 6 months ago (2015-06-10 22:43:18 UTC) #5
Jennifer Messerly
On 2015/06/10 22:43:18, John Messerly wrote: > https://github.com/dart-lang/analyzer_cli/commit/d6b65c4aaf84fbb78159f6ec649056b724c43dc1 > shows the analyzer_cli side. Perhaps worth ...
5 years, 6 months ago (2015-06-10 22:44:00 UTC) #6
vsm
lgtm! https://codereview.chromium.org/1174643003/diff/60001/lib/strong_mode.dart File lib/strong_mode.dart (right): https://codereview.chromium.org/1174643003/diff/60001/lib/strong_mode.dart#newcode92 lib/strong_mode.dart:92: /// Whether to infer return types and field ...
5 years, 6 months ago (2015-06-10 23:31:17 UTC) #7
Jennifer Messerly
https://codereview.chromium.org/1174643003/diff/60001/lib/strong_mode.dart File lib/strong_mode.dart (right): https://codereview.chromium.org/1174643003/diff/60001/lib/strong_mode.dart#newcode92 lib/strong_mode.dart:92: /// Whether to infer return types and field types ...
5 years, 6 months ago (2015-06-11 14:46:48 UTC) #8
Jennifer Messerly
Committed patchset #3 (id:80001) manually as 0ff64c1c9805e8fe6406e2acb05e34891d2f9f83 (presubmit successful).
5 years, 6 months ago (2015-06-11 14:47:17 UTC) #9
Jennifer Messerly
5 years, 6 months ago (2015-06-11 14:55:30 UTC) #10
Message was sent while issue was closed.
fyi, landed this so I can build on the internals of it (e.g. to fix DDC to use
AnalysisErrors internally https://github.com/dart-lang/dev_compiler/issues/6)

Paul & Phil, very happy to hear your feedback on the StrongChecker/Options APIs
... they are all subject to change until the analyzer_cli changes look good to
you guys too :). I'm not quite ready to officially send out the analyzer_cli
side though... need to add tests, and start chasing down DEPS dependency issues.

Powered by Google App Engine
This is Rietveld 408576698