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

Unified Diff: tests/lib/mirrors/generic_f_bounded_test.dart

Issue 51113013: Reapply "Substitute types in generic superclasses and interfaces." . (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 2 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
« no previous file with comments | « tests/lib/mirrors/generic_bounded_test.dart ('k') | tests/lib/mirrors/generic_superclass_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/generic_f_bounded_test.dart
diff --git a/tests/lib/mirrors/generic_f_bounded_test.dart b/tests/lib/mirrors/generic_f_bounded_test.dart
index 00e4fbb2fa12b709345dce1de48c14d633bec1b7..bd3686073013024a9f2d1058564641c4733bb0e6 100644
--- a/tests/lib/mirrors/generic_f_bounded_test.dart
+++ b/tests/lib/mirrors/generic_f_bounded_test.dart
@@ -27,8 +27,8 @@ main() {
Expect.isTrue(realDecl.isOriginalDeclaration);
Expect.isTrue(sorterDecl.isOriginalDeclaration);
Expect.isTrue(realSorterDecl.isOriginalDeclaration);
- Expect.isFalse(magnitudeOfReal.isOriginalDeclaration); /// 01: ok
- Expect.isFalse(sorterOfReal.isOriginalDeclaration); /// 01: ok
+ Expect.isFalse(magnitudeOfReal.isOriginalDeclaration);
+ Expect.isFalse(sorterOfReal.isOriginalDeclaration);
TypeVariableMirror tFromMagnitude = magnitudeDecl.typeVariables.single;
TypeVariableMirror rFromSorter = sorterDecl.typeVariables.single;
@@ -52,7 +52,7 @@ main() {
typeArguments(realDecl, []);
typeArguments(sorterDecl, []);
typeArguments(realSorterDecl, []);
- typeArguments(magnitudeOfReal, [realDecl]); /// 01: ok
+ typeArguments(magnitudeOfReal, [realDecl]); /// 01: ok
typeArguments(sorterOfReal, [realDecl]); /// 01: ok
typeArguments(magnitudeOfR, [rFromSorter]);
}
« no previous file with comments | « tests/lib/mirrors/generic_bounded_test.dart ('k') | tests/lib/mirrors/generic_superclass_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698