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

Issue 3000743002: Check for null constructor field initializer expression. (Closed)

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

Description

Check for null constructor field initializer expression. When the initializer expression is null, this means that we detected that it was not actually a constant expression. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/2923edc4c0bb7c60a7fe303461e48541e830d278

Patch Set 1 #

Patch Set 2 : Check for null in ConstantEvaluationEngine instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M pkg/analyzer/lib/src/dart/constant/evaluation.dart View 1 2 chunks +4 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/compile_time_error_code_test.dart View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
scheglov
3 years, 4 months ago (2017-08-11 01:52:46 UTC) #1
Brian Wilkerson
Does this introduce a difference between the element model built from an AST and the ...
3 years, 4 months ago (2017-08-11 14:01:20 UTC) #2
scheglov
PTAL
3 years, 4 months ago (2017-08-11 17:38:06 UTC) #4
Brian Wilkerson
lgtm
3 years, 4 months ago (2017-08-11 17:52:44 UTC) #5
scheglov
3 years, 4 months ago (2017-08-11 19:35:25 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2923edc4c0bb7c60a7fe303461e48541e830d278 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698