| 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);
|
| });
|
| }
|
|
|
|
|