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

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

Issue 49083004: Re-triage mirror test failures on the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/lib/mirrors/equality_test.dart
diff --git a/tests/lib/mirrors/equality_test.dart b/tests/lib/mirrors/equality_test.dart
index 94c98561c342d7a69265028402d5e3fb61601fdd..26d1aac659100e1ae2d2ad42010998c88b20dc72 100644
--- a/tests/lib/mirrors/equality_test.dart
+++ b/tests/lib/mirrors/equality_test.dart
@@ -139,9 +139,9 @@ main() {
'thisLibrary.variables[#somePredicate].type' /// 02: ok
: thisLibrary.variables[#somePredicate].type}, /// 02: ok
- {'reflectType(Predicate).referent' : reflectType(Predicate).referent, /// 02: ok
+ {'reflectType(Predicate).referent' : (reflectType(Predicate) as TypedefMirror).referent, /// 02: ok
'thisLibrary.variables[#somePredicate].type.referent' /// 02: ok
- : thisLibrary.variables[#somePredicate].type.referent}, /// 02: ok
+ : (thisLibrary.variables[#somePredicate].type as TypedefMirror).referent}, /// 02: ok
{'reflectClass(A).typeVariables.single' /// 02: ok
: reflectClass(A).typeVariables.single, /// 02: ok
« no previous file with comments | « tests/lib/mirrors/closure_mirror_import2.dart ('k') | tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698