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

Issue 10582013: Issue 1655. Check initializer values of const constructors (Closed)

Created:
8 years, 6 months ago by scheglov
Modified:
8 years, 6 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -19 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java View 9 chunks +71 lines, -14 lines 1 comment Download
M compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantResolver.java View 1 chunk +8 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java View 1 chunk +66 lines, -0 lines 0 comments Download
M tests/co19/co19-compiler.status View 2 chunks +1 line, -3 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-19 02:59:32 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-19 14:04:08 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/10582013/diff/1/compiler/java/com/goog...
File
compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java
(right):

https://chromiumcodereview.appspot.com/10582013/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java:88:
private boolean checkInt(HasSourceInfo x, Type type) {
Should we change the type of 'x' in all of the check methods to be consistent?

Powered by Google App Engine
This is Rietveld 408576698