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

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

Issue 61683007: Reapply "Retain types of toplevel and instance variables for reflection." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix: use '-' instead of ':' as a separator in the field descriptor. Created 7 years, 1 month 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/field_type_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_type_mirror_test.dart
diff --git a/tests/lib/mirrors/generic_type_mirror_test.dart b/tests/lib/mirrors/generic_type_mirror_test.dart
index 6b38328f328bc5e78ed1b09a68a13a2057dc6d57..145415e24ed05748817ec888b2e2fce3d73ae906 100644
--- a/tests/lib/mirrors/generic_type_mirror_test.dart
+++ b/tests/lib/mirrors/generic_type_mirror_test.dart
@@ -39,14 +39,14 @@ void testInstance() {
Expect.equals(foo, o.owner);
Expect.equals(foo, p.owner);
- Expect.equals(baz, field.type); /// 01: ok
+ Expect.equals(baz, field.type);
Expect.equals(baz, getter.returnType);
Expect.equals(bar, m.returnType);
Expect.equals(baz, n.returnType);
Expect.equals(bar, o.parameters.single.type);
- Expect.equals(hOfBaz, p.returnType); /// 02: ok
+ Expect.equals(hOfBaz, p.returnType);
Expect.equals(1, p.returnType.typeArguments.length);
- Expect.equals(baz, p.returnType.typeArguments[0]); /// 02: ok
+ Expect.equals(baz, p.returnType.typeArguments[0]);
Expect.equals(baz, setter.parameters.single.type);
@@ -73,7 +73,7 @@ void testOriginalDeclaration() {
Expect.equals(foo, o.owner);
Expect.equals(foo, p.owner);
- Expect.equals(v, field.type); /// 01: ok
+ Expect.equals(v, field.type);
Expect.equals(v, getter.returnType);
Expect.equals(w, m.returnType);
Expect.equals(v, n.returnType);
« no previous file with comments | « tests/lib/mirrors/field_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698