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

Issue 15096008: Report NON_CONSTANT_VALUE_IN_INITIALIZER (Closed)

Created:
7 years, 7 months ago by scheglov
Modified:
7 years, 7 months ago
Reviewers:
jwren, Brian Wilkerson
CC:
reviews_dartlang.org, lukeechurch_gmail.com
Visibility:
Public.

Description

Report NON_CONSTANT_VALUE_IN_INITIALIZER R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=22747

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixes for review comments #

Total comments: 2

Patch Set 3 : Fix for names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+847 lines, -36 lines) Patch
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java View 1 2 3 chunks +36 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java View 1 4 chunks +15 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java View 1 2 27 chunks +221 lines, -9 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ConstantVerifier.java View 1 6 chunks +139 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java View 1 4 chunks +223 lines, -12 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java View 1 2 chunks +204 lines, -0 lines 0 comments Download
M tests/co19/co19-analyzer.status View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M tests/language/language.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
scheglov
7 years, 7 months ago (2013-05-14 01:05:16 UTC) #1
Brian Wilkerson
https://codereview.chromium.org/15096008/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java (right): https://codereview.chromium.org/15096008/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java#newcode74 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java:74: private static boolean isBoolOrNull(ValidResult result) { Why aren't these ...
7 years, 7 months ago (2013-05-14 15:49:27 UTC) #2
scheglov
PTAL There are failing tests in co19, I've opened an issue. https://codereview.chromium.org/15096008/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java (right): ...
7 years, 7 months ago (2013-05-14 23:51:06 UTC) #3
Brian Wilkerson
With one minor change, LGTM. https://codereview.chromium.org/15096008/diff/6001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java (right): https://codereview.chromium.org/15096008/diff/6001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java#newcode959 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java:959: private boolean isBool2() { ...
7 years, 7 months ago (2013-05-15 04:13:49 UTC) #4
scheglov
https://codereview.chromium.org/15096008/diff/6001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java (right): https://codereview.chromium.org/15096008/diff/6001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java#newcode959 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java:959: private boolean isBool2() { On 2013/05/15 04:13:49, Brian Wilkerson ...
7 years, 7 months ago (2013-05-15 16:59:03 UTC) #5
scheglov
7 years, 7 months ago (2013-05-15 16:59:25 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r22747 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698