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

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

Issue 165143004: Move TypeMask.simplify to a test helper. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 10 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/compiler/dart2js/cpa_inference_test.dart
diff --git a/tests/compiler/dart2js/cpa_inference_test.dart b/tests/compiler/dart2js/cpa_inference_test.dart
index dcf347bb9a2f025812a6d4b72e6fbf2d747f61d5..6ea07a30e49b2edcfe4979dfbe9ee059f6fa9399 100644
--- a/tests/compiler/dart2js/cpa_inference_test.dart
+++ b/tests/compiler/dart2js/cpa_inference_test.dart
@@ -11,6 +11,7 @@ import '../../../sdk/lib/_internal/compiler/implementation/inferrer/concrete_typ
import "parser_helper.dart";
import "compiler_helper.dart";
+import "type_mask_test_helper.dart";
import 'dart:mirrors';
/**
@@ -1571,7 +1572,7 @@ testConcreteTypeToTypeMask() {
new TypeMask.subclass(a));
Expect.equals(
- convert(singleton(b).union(singleton(d))).simplify(result.compiler),
+ simplify(convert(singleton(b).union(singleton(d))), result.compiler),
new TypeMask.nonNullSubtype(a));
});
}
« no previous file with comments | « tests/compiler/dart2js/closure_tracer_test.dart ('k') | tests/compiler/dart2js/field_type_simple_inferer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698