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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java

Issue 9049016: in dartc, generics in Typedef not working as expected, when extending generic type (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
index 4b17ff094c75ae2c3a4259d40bd00bda1f90ca74..a2b03b5250e2fec3735831cdd57902f16f45395f 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1089,6 +1089,14 @@ public class ResolverTest extends ResolverTestCase {
"}"));
}
+ public void test_parameters_withFunctionAlias() throws Exception {
+ resolveAndTest(Joiner.on("\n").join(
+ "class Object {}",
+ "class int {}",
+ "interface List<T> {}",
+ "typedef List<T> TypeAlias<T, U extends List<T>>(List<T> arg, U u);"));
scheglov 2012/01/04 21:51:43 I'd like to see in JUnit test some deeper check,
zundel 2012/01/09 16:02:49 I moved the test to ResolverCompilerTest. See if
+ }
+
public void testImplementsAndOverrides1() {
resolveAndTest(Joiner.on("\n").join(
"class Object {}",

Powered by Google App Engine
This is Rietveld 408576698