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

Issue 9049016: in dartc, generics in Typedef not working as expected, when extending generic type (Closed)

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

Description

in dartc, generics in Typedef not working as expected, when extending generic type http://code.google.com/p/dart/issues/detail?id=436 Committed: https://code.google.com/p/dart/source/detail?r=3103

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated test to inspect types more closely #

Patch Set 3 : merged up to r3100 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -27 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java View 1 chunk +0 lines, -3 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java View 1 2 chunks +27 lines, -20 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/CompilerTestCase.java View 1 2 chunks +15 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java View 1 2 chunks +33 lines, -2 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java View 1 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/src/FunctionTypeAliasTest.dart View 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
zundel
http://codereview.chromium.org/9049016/diff/1/tests/language/src/FunctionTypeAliasTest.dart File tests/language/src/FunctionTypeAliasTest.dart (right): http://codereview.chromium.org/9049016/diff/1/tests/language/src/FunctionTypeAliasTest.dart#newcode102 tests/language/src/FunctionTypeAliasTest.dart:102: Expect.isFalse(boundsFalse is BoundsCheck<num>); The way I wanted to write ...
8 years, 11 months ago (2012-01-04 21:28:52 UTC) #1
scheglov
lgtm in general http://codereview.chromium.org/9049016/diff/1/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java File compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java (right): http://codereview.chromium.org/9049016/diff/1/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java#newcode97 compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java:97: private void setBoundsOnTypeParameters(List<?extends Type> typeParameters, "<?extends" ...
8 years, 11 months ago (2012-01-04 21:51:43 UTC) #2
codefu
lgtm
8 years, 11 months ago (2012-01-06 20:32:14 UTC) #3
zundel
http://codereview.chromium.org/9049016/diff/1/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java File compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java (right): http://codereview.chromium.org/9049016/diff/1/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java#newcode97 compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java:97: private void setBoundsOnTypeParameters(List<?extends Type> typeParameters, On 2012/01/04 21:51:43, scheglov ...
8 years, 11 months ago (2012-01-09 16:02:49 UTC) #4
scheglov
LGTM Yes, now it tests types and their bounds. > "typedef List<T> TypeAlias<T, U extends ...
8 years, 11 months ago (2012-01-09 16:12:48 UTC) #5
codefu
8 years, 11 months ago (2012-01-09 17:01:29 UTC) #6
still lgtm

Powered by Google App Engine
This is Rietveld 408576698