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

Issue 9728006: Some compile time constants were not properly reporting static type warnings (Closed)

Created:
8 years, 9 months ago by zundel
Modified:
8 years, 9 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Some compile time constants were not properly reporting static type warnings http://code.google.com/p/dart/issues/detail?id=1957 Committed: https://code.google.com/p/dart/source/detail?r=5654

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java View 3 chunks +7 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 1 chunk +2 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 chunk +3 lines, -0 lines 1 comment Download
M tests/language/language.status View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
zundel
8 years, 9 months ago (2012-03-19 19:10:35 UTC) #1
scheglov
8 years, 9 months ago (2012-03-19 19:17:48 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/9728006/diff/1/compiler/java/com/googl...
File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right):

https://chromiumcodereview.appspot.com/9728006/diff/1/compiler/java/com/googl...
compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1730:
checkAssignable(node, node.getElement().getType(),
node.getElement().getConstantType());
indentation

Powered by Google App Engine
This is Rietveld 408576698