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

Unified Diff: tests/compiler/dart2js/union_type_test.dart

Issue 24952003: Change TypeMask.base to be a ClassElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moar declaration. Created 7 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/compiler/dart2js/type_combination_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/union_type_test.dart
diff --git a/tests/compiler/dart2js/union_type_test.dart b/tests/compiler/dart2js/union_type_test.dart
index 2b48e046045d760deddecd9f2999134f19d4339f..7cc13bac86ce43ee8a2e338d040557f727e4adc1 100644
--- a/tests/compiler/dart2js/union_type_test.dart
+++ b/tests/compiler/dart2js/union_type_test.dart
@@ -15,9 +15,9 @@ main() {
compiler.stringClass.ensureResolved(compiler);
FlatTypeMask mask1 =
- new FlatTypeMask.exact(new InterfaceType(compiler.intClass));
+ new FlatTypeMask.exact(compiler.intClass);
FlatTypeMask mask2 =
- new FlatTypeMask.exact(new InterfaceType(compiler.stringClass));
+ new FlatTypeMask.exact(compiler.stringClass);
UnionTypeMask union1 = mask1.nonNullable().union(mask2, compiler);
UnionTypeMask union2 = mask2.nonNullable().union(mask1, compiler);
Expect.equals(union1, union2);
« no previous file with comments | « tests/compiler/dart2js/type_combination_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698