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

Issue 1305863011: Improve strong-mode implementation and fix several failing tests (Closed)

Created:
5 years, 3 months ago by Brian Wilkerson
Modified:
5 years, 3 months ago
Reviewers:
Leaf, Paul Berry, scheglov
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

There are several improvements: - analyzer no longer reports errors in the initializers for static variables until the final resolution - the collection of static variables is now computed more efficiently - an unused analysis result is no longer being computed In addition, this fixes several (but not all) of the tests that fail when the task model is enabled. R=paulberry@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/38bf731d54beb65bcf7c2f153f462cc56c141de4

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -184 lines) Patch
M pkg/analyzer/lib/src/generated/error.dart View 1 6 chunks +68 lines, -7 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 3 chunks +141 lines, -16 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 5 chunks +14 lines, -29 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong_mode.dart View 2 chunks +1 line, -78 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 3 chunks +6 lines, -10 lines 0 comments Download
M pkg/analyzer/test/src/task/strong_mode_test.dart View 1 chunk +0 lines, -44 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Brian Wilkerson
5 years, 3 months ago (2015-09-08 15:23:15 UTC) #2
scheglov
lgtm https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/engine.dart#newcode8420 pkg/analyzer/lib/src/generated/engine.dart:8420: class DisablableErrorListener implements AnalysisErrorListener { Why don't we ...
5 years, 3 months ago (2015-09-08 15:36:22 UTC) #3
Paul Berry
lgtm https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/resolver.dart File pkg/analyzer/lib/src/generated/resolver.dart (right): https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/resolver.dart#newcode9558 pkg/analyzer/lib/src/generated/resolver.dart:9558: bool strongMode; This could be made final. https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/resolver.dart#newcode9561 ...
5 years, 3 months ago (2015-09-08 16:13:30 UTC) #4
Brian Wilkerson
https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/engine.dart#newcode8420 pkg/analyzer/lib/src/generated/engine.dart:8420: class DisablableErrorListener implements AnalysisErrorListener { Done https://codereview.chromium.org/1305863011/diff/1/pkg/analyzer/lib/src/generated/resolver.dart File pkg/analyzer/lib/src/generated/resolver.dart ...
5 years, 3 months ago (2015-09-08 17:10:33 UTC) #5
Brian Wilkerson
5 years, 3 months ago (2015-09-08 17:12:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
38bf731d54beb65bcf7c2f153f462cc56c141de4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698