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

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

Issue 27064004: Support reflection on recursive upper bounds of type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added test. 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/class_mirror_type_variables_test.dart ('k') | no next file » | 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 3d9244c28e22bcae25d277af89cf277afd2095c3..96148ccad0d4ad6974fa1b522b04d01d9d737933 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);
- Expect.isFalse(sorterOfReal.isOriginalDeclaration);
+ Expect.isFalse(magnitudeOfReal.isOriginalDeclaration); /// 01: ok
+ Expect.isFalse(sorterOfReal.isOriginalDeclaration); /// 01: ok
TypeVariableMirror tFromMagnitude = magnitudeDecl.typeVariables.single;
TypeVariableMirror rFromSorter = sorterDecl.typeVariables.single;
@@ -52,7 +52,7 @@ main() {
typeArguments(realDecl, []);
typeArguments(sorterDecl, []);
typeArguments(realSorterDecl, []);
- typeArguments(magnitudeOfReal, [realDecl]);
- typeArguments(sorterOfReal, [realDecl]);
+ typeArguments(magnitudeOfReal, [realDecl]); /// 01: ok
+ typeArguments(sorterOfReal, [realDecl]); /// 01: ok
typeArguments(magnitudeOfR, [rFromSorter]);
}
« no previous file with comments | « tests/lib/mirrors/class_mirror_type_variables_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698