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

Issue 10574024: Issue 2379. Can't use type variable with const constructor (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 (+41 lines, -4 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 1 chunk +14 lines, -2 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java View 1 chunk +1 line, -0 lines 1 comment Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 2 chunks +26 lines, -1 line 0 comments Download
M tests/co19/co19-compiler.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-19 19:42:52 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-19 19:45:19 UTC) #2
LGTM

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

https://chromiumcodereview.appspot.com/10574024/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java:61:
CONST_WITH_TYPE_VARIABLE("Const constructor cannot be invoked a type variable as
a type argument"),
nit: "invoked" --> "invoked with"

Powered by Google App Engine
This is Rietveld 408576698