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

Issue 1396273004: Strong mode checker integration (Closed)

Created:
5 years, 2 months ago by Leaf
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org, vsm
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Strong mode checker integration. This integrates jmesserly's CL, and adds a task for computing strong mode errors and an annotated unit. BUG= R=brianwilkerson@google.com, jmesserly@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/4ca8a3f19b52b8e4b2ea0b3a20ef9794c5a3d9d4

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address comments and merge #

Patch Set 3 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -25 lines) Patch
M pkg/analysis_server/lib/src/status/get_handler.dart View 2 chunks +11 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 1 2 chunks +3 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 3 chunks +3 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/plugin/engine_plugin.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 13 chunks +117 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart_work_manager.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 6 chunks +7 lines, -8 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 6 chunks +66 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/strong_test_helper.dart View 5 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Leaf
I've wrapped up jmesserly's changes into this new CL, and added in a new task ...
5 years, 2 months ago (2015-10-13 05:35:47 UTC) #3
Brian Wilkerson
LGTM, but I added Konstantin as a reviewer to answer the question about the incremental ...
5 years, 2 months ago (2015-10-13 14:21:19 UTC) #5
scheglov
lgtm https://codereview.chromium.org/1396273004/diff/1/pkg/analyzer/lib/src/generated/incremental_resolver.dart File pkg/analyzer/lib/src/generated/incremental_resolver.dart (right): https://codereview.chromium.org/1396273004/diff/1/pkg/analyzer/lib/src/generated/incremental_resolver.dart#newcode1321 pkg/analyzer/lib/src/generated/incremental_resolver.dart:1321: newUnitEntry.setState(STRONG_MODE_ERRORS, CacheState.INVALID); On 2015/10/13 05:35:47, Leaf wrote: > ...
5 years, 2 months ago (2015-10-13 15:21:21 UTC) #6
Jennifer Messerly
lgtm, thanks Leaf! https://codereview.chromium.org/1396273004/diff/1/pkg/analysis_server/lib/src/status/get_handler.dart File pkg/analysis_server/lib/src/status/get_handler.dart (right): https://codereview.chromium.org/1396273004/diff/1/pkg/analysis_server/lib/src/status/get_handler.dart#newcode348 pkg/analysis_server/lib/src/status/get_handler.dart:348: results.add(RESOLVED_UNIT9); I forgot to ask yesterday ...
5 years, 2 months ago (2015-10-13 15:23:53 UTC) #7
Brian Wilkerson
https://codereview.chromium.org/1396273004/diff/1/pkg/analysis_server/lib/src/status/get_handler.dart File pkg/analysis_server/lib/src/status/get_handler.dart (right): https://codereview.chromium.org/1396273004/diff/1/pkg/analysis_server/lib/src/status/get_handler.dart#newcode348 pkg/analysis_server/lib/src/status/get_handler.dart:348: results.add(RESOLVED_UNIT9); > I guess this is a silly way ...
5 years, 2 months ago (2015-10-13 15:37:37 UTC) #8
Leaf
https://codereview.chromium.org/1396273004/diff/1/pkg/analyzer/lib/src/context/context.dart File pkg/analyzer/lib/src/context/context.dart (right): https://codereview.chromium.org/1396273004/diff/1/pkg/analyzer/lib/src/context/context.dart#newcode1154 pkg/analyzer/lib/src/context/context.dart:1154: entry.setState(RESOLVED_UNIT9, CacheState.FLUSHED); On 2015/10/13 14:21:19, Brian Wilkerson wrote: > ...
5 years, 2 months ago (2015-10-13 16:46:28 UTC) #9
Leaf
5 years, 2 months ago (2015-10-13 17:16:39 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
4ca8a3f19b52b8e4b2ea0b3a20ef9794c5a3d9d4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698