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

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

Issue 1299413002: Move common identifiers, names and selectors to a separate library. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 4 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 2a624b416d5cf836f0a3ced7701ac11e107788ed..a913ec30bbbb1aac36bfe43876032cf4851221ef 100644
--- a/tests/compiler/dart2js/cpa_inference_test.dart
+++ b/tests/compiler/dart2js/cpa_inference_test.dart
@@ -1648,7 +1648,7 @@ testSelectors() {
ClassElement y = findElement(result.compiler, 'Y');
ClassElement z = findElement(result.compiler, 'Z');
- Selector foo = new Selector.call("foo", null, 0);
+ Selector foo = new Selector.call(const PublicName("foo"), 0);
result.checkSelectorHasType(
foo,
@@ -1674,7 +1674,8 @@ testSelectors() {
new TypeMask.unionOf([b, c].map((cls) =>
new TypeMask.nonNullExact(cls, world)), world));
- result.checkSelectorHasType(new Selector.call("bar", null, 0), null, null);
+ result.checkSelectorHasType(
+ new Selector.call(const PublicName("bar"), 0), null, null);
});
}

Powered by Google App Engine
This is Rietveld 408576698