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

Issue 2288223003: Don't perform final fields and top-level variables type propagation. (Closed)

Created:
4 years, 3 months ago by scheglov
Modified:
4 years, 3 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Don't perform final fields and top-level variables type propagation. A similar feature is now implemented in strong mode, and users who need it, should switch to strong mode. When we are ready to drop propagated types altogethoer, we could deprecate or remove UnlinkedVariable.propagatedTypeSlot in IDL. R=brianwilkerson@google.com, paulberry@google.com BUG= https://github.com/dart-lang/sdk/issues/26794 Committed: https://github.com/dart-lang/sdk/commit/09b851c97f5c3672001b85c4267bb1a82c855cfc

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rewrite 'reuse' tests using 'inferredTypeSlot'. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -1380 lines) Patch
M pkg/analysis_server/lib/src/status/get_handler.dart View 2 chunks +0 lines, -5 lines 0 comments Download
M pkg/analysis_server/test/completion_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/doc/tasks.html View 15 chunks +39 lines, -57 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 3 chunks +0 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 2 chunks +3 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 3 chunks +0 lines, -24 lines 0 comments Download
M pkg/analyzer/lib/src/plugin/engine_plugin.dart View 2 chunks +3 lines, -8 lines 0 comments Download
M pkg/analyzer/lib/src/summary/package_bundle_reader.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 52 chunks +173 lines, -485 lines 0 comments Download
M pkg/analyzer/test/generated/incremental_resolver_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 1 chunk +0 lines, -103 lines 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 4 chunks +4 lines, -6 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart View 3 chunks +0 lines, -54 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_test.dart View 3 chunks +0 lines, -54 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_common.dart View 1 9 chunks +9 lines, -100 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 43 chunks +81 lines, -412 lines 0 comments Download
M pkg/analyzer/tool/task_dependency_graph/tasks.dot View 15 chunks +39 lines, -57 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
scheglov
4 years, 3 months ago (2016-08-29 20:34:27 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart File pkg/analysis_server/test/completion_test.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart#newcode2853 pkg/analysis_server/test/completion_test.dart:2853: <String>["1+length"], failingTests: '1'); It seems odd to have ...
4 years, 3 months ago (2016-08-29 20:49:04 UTC) #3
Paul Berry
https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart File pkg/analyzer/lib/src/task/dart.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart#newcode857 pkg/analyzer/lib/src/task/dart.dart:857: final ResultDescriptor<CompilationUnit> RESOLVED_UNIT8 = To reduce the risk of ...
4 years, 3 months ago (2016-08-29 20:52:17 UTC) #4
Paul Berry
https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart File pkg/analysis_server/test/completion_test.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart#newcode2853 pkg/analysis_server/test/completion_test.dart:2853: <String>["1+length"], failingTests: '1'); On 2016/08/29 at 20:49:03, Brian Wilkerson ...
4 years, 3 months ago (2016-08-29 20:53:35 UTC) #5
scheglov
https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart File pkg/analysis_server/test/completion_test.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart#newcode2853 pkg/analysis_server/test/completion_test.dart:2853: <String>["1+length"], failingTests: '1'); On 2016/08/29 20:49:03, Brian Wilkerson wrote: ...
4 years, 3 months ago (2016-08-29 20:53:56 UTC) #6
Brian Wilkerson
https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart File pkg/analysis_server/test/completion_test.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analysis_server/test/completion_test.dart#newcode2853 pkg/analysis_server/test/completion_test.dart:2853: <String>["1+length"], failingTests: '1'); Why not just set strong mode ...
4 years, 3 months ago (2016-08-29 21:13:24 UTC) #7
Paul Berry
lgtm (with concerns noted) https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart File pkg/analyzer/lib/src/task/dart.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart#newcode857 pkg/analyzer/lib/src/task/dart.dart:857: final ResultDescriptor<CompilationUnit> RESOLVED_UNIT8 = On ...
4 years, 3 months ago (2016-08-29 21:24:32 UTC) #8
scheglov
Paul, PTAL if the changes to summary tests are OK. https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart File pkg/analyzer/lib/src/task/dart.dart (right): https://codereview.chromium.org/2288223003/diff/1/pkg/analyzer/lib/src/task/dart.dart#newcode857 ...
4 years, 3 months ago (2016-08-29 22:01:47 UTC) #9
Paul Berry
Test changes lgtm
4 years, 3 months ago (2016-08-29 22:07:47 UTC) #10
scheglov
4 years, 3 months ago (2016-08-29 22:18:19 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
09b851c97f5c3672001b85c4267bb1a82c855cfc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698