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

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

Issue 416643002: Support typedefs in function signatures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update mirrors used test. Created 6 years, 3 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/lib.status ('k') | tests/lib/mirrors/typedef_in_signature_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/equality_test.dart
diff --git a/tests/lib/mirrors/equality_test.dart b/tests/lib/mirrors/equality_test.dart
index af15ca9d2bf9245609b44fd9e9ee77764b3272f8..8b627b0edcefe1a593b4073cbea853cb0187a5ac 100644
--- a/tests/lib/mirrors/equality_test.dart
+++ b/tests/lib/mirrors/equality_test.dart
@@ -97,11 +97,9 @@ main() {
{'reflect("foo")' : reflect("foo"),
'reflect("foo"), again' : reflect("foo")},
- {'currentMirrorSystem().voidType' : currentMirrorSystem().voidType}, /// 01: ok
-
- {'currentMirrorSystem().voidType' : currentMirrorSystem().voidType, /// 02: ok
- 'thisLibrary.declarations[#subroutine].returnType' : /// 02: ok
- (thisLibrary.declarations[#subroutine] as MethodMirror).returnType}, /// 02: ok
+ {'currentMirrorSystem().voidType' : currentMirrorSystem().voidType,
+ 'thisLibrary.declarations[#subroutine].returnType' :
+ (thisLibrary.declarations[#subroutine] as MethodMirror).returnType},
{'currentMirrorSystem().dynamicType' : currentMirrorSystem().dynamicType,
'thisLibrary.declarations[#main].returnType' :
@@ -136,13 +134,13 @@ main() {
'reflect(new BadEqualityHash()).type.declarations[#count]'
: reflect(new BadEqualityHash()).type.declarations[#count]},
- {'reflectType(Predicate)' : reflectType(Predicate), /// 02: ok
- 'thisLibrary.declarations[#somePredicate].type' /// 02: ok
- : (thisLibrary.declarations[#somePredicate] as VariableMirror).type}, /// 02: ok
+ {'reflectType(Predicate)' : reflectType(Predicate),
+ 'thisLibrary.declarations[#somePredicate].type'
+ : (thisLibrary.declarations[#somePredicate] as VariableMirror).type},
- {'reflectType(Predicate).referent' : (reflectType(Predicate) as TypedefMirror).referent, /// 02: ok
- 'thisLibrary.declarations[#somePredicate].type.referent' /// 02: ok
- : ((thisLibrary.declarations[#somePredicate] as VariableMirror).type as TypedefMirror).referent}, /// 02: ok
+ {'reflectType(Predicate).referent' : (reflectType(Predicate) as TypedefMirror).referent,
+ 'thisLibrary.declarations[#somePredicate].type.referent'
+ : ((thisLibrary.declarations[#somePredicate] as VariableMirror).type as TypedefMirror).referent},
{'reflectClass(A).typeVariables.single'
: reflectClass(A).typeVariables.single,
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/mirrors/typedef_in_signature_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698