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

Issue 2176693003: Issue a strong mode warning for type inference that is unsafe with AST-based summaries. (Closed)

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

Description

Issue a strong mode warning for type inference that is unsafe with AST-based summaries. See #26947 for details. R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/eb7f2d6fcc2a38ecd65a5862c7daf711696ac83c

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address code review comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+489 lines, -11 lines) Patch
M pkg/analyzer/lib/src/generated/error.dart View 3 chunks +12 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 1 2 chunks +105 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_ast_test.dart View 1 1 chunk +66 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 1 12 chunks +306 lines, -11 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
4 years, 5 months ago (2016-07-22 22:13:10 UTC) #2
Leaf
lgtm https://codereview.chromium.org/2176693003/diff/1/pkg/analyzer/lib/src/task/strong/checker.dart File pkg/analyzer/lib/src/task/strong/checker.dart (right): https://codereview.chromium.org/2176693003/diff/1/pkg/analyzer/lib/src/task/strong/checker.dart#newcode745 pkg/analyzer/lib/src/task/strong/checker.dart:745: if (ancestor is VariableDeclaration) { Might be a ...
4 years, 5 months ago (2016-07-22 23:34:41 UTC) #3
Paul Berry
https://codereview.chromium.org/2176693003/diff/1/pkg/analyzer/lib/src/task/strong/checker.dart File pkg/analyzer/lib/src/task/strong/checker.dart (right): https://codereview.chromium.org/2176693003/diff/1/pkg/analyzer/lib/src/task/strong/checker.dart#newcode745 pkg/analyzer/lib/src/task/strong/checker.dart:745: if (ancestor is VariableDeclaration) { On 2016/07/22 23:34:41, Leaf ...
4 years, 5 months ago (2016-07-23 16:18:18 UTC) #4
Leaf
lgtm https://codereview.chromium.org/2176693003/diff/20001/pkg/analyzer/test/src/task/strong/inferred_type_test.dart File pkg/analyzer/test/src/task/strong/inferred_type_test.dart (right): https://codereview.chromium.org/2176693003/diff/20001/pkg/analyzer/test/src/task/strong/inferred_type_test.dart#newcode3862 pkg/analyzer/test/src/task/strong/inferred_type_test.dart:3862: // TODO(paulberry): why is the call to the ...
4 years, 5 months ago (2016-07-25 19:51:29 UTC) #5
Paul Berry
Committed patchset #2 (id:20001) manually as eb7f2d6fcc2a38ecd65a5862c7daf711696ac83c (presubmit successful).
4 years, 5 months ago (2016-07-25 20:18:21 UTC) #7
Brian Wilkerson
4 years, 4 months ago (2016-07-27 14:09:55 UTC) #8
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698