Index: tests/lib/mirrors/type_variable_owner_test.dart |
diff --git a/tests/lib/mirrors/type_variable_owner_test.dart b/tests/lib/mirrors/type_variable_owner_test.dart |
index a44bf9d904862ace5ed0849e02e84ed4e1de188c..b9edbe2620d88c4407b7a5d31697de211e96e586 100644 |
--- a/tests/lib/mirrors/type_variable_owner_test.dart |
+++ b/tests/lib/mirrors/type_variable_owner_test.dart |
@@ -12,6 +12,7 @@ import "dart:mirrors"; |
import "package:expect/expect.dart"; |
class A<T> {} |
+ |
class B<R> extends A<R> {} |
testTypeVariableOfClass() { |
@@ -26,7 +27,7 @@ testTypeVariableOfClass() { |
Expect.equals(aDecl, aOfInt.typeVariables[0].owner); |
Expect.equals(aDecl, aOfR.typeVariables[0].owner); |
Expect.equals(aDecl, aOfString.typeVariables[0].owner); |
- |
+ |
Expect.equals(bDecl, bDecl.typeVariables[0].owner); |
Expect.equals(bDecl, bOfString.typeVariables[0].owner); |
} |
@@ -42,7 +43,7 @@ testTypeVariableOfTypedef() { |
TypedefMirror predicateOfList = |
(thisLibrary.declarations[#somePredicateOfList] as VariableMirror).type; |
TypedefMirror predicateDecl = predicateOfList.originalDeclaration; |
- |
+ |
Expect.equals(predicateDecl, predicateOfDynamic.typeVariables[0].owner); |
Expect.equals(predicateDecl, predicateOfList.typeVariables[0].owner); |
Expect.equals(predicateDecl, predicateDecl.typeVariables[0].owner); |