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

Issue 9016053: Violating type bounds on a new invocation is a static type error, not a compile error (Closed)

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

Description

Violating type bounds on a new invocation is a static type error, not a compile error http://code.google.com/p/dart/issues/detail?id=1027 Committed: https://code.google.com/p/dart/source/detail?r=2921

Patch Set 1 #

Patch Set 2 : Added junit test' #

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

Messages

Total messages: 3 (0 generated)
zundel
8 years, 11 months ago (2012-01-03 20:37:11 UTC) #1
codefu
LGTM + non-substantial nit. http://codereview.chromium.org/9016053/diff/2001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): http://codereview.chromium.org/9016053/diff/2001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode1033 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1033: Type type = validateTypeNode(typeNode, false); ...
8 years, 11 months ago (2012-01-03 20:43:40 UTC) #2
scheglov
8 years, 11 months ago (2012-01-03 20:47:05 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698