Index: tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
diff --git a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
index 7ceb6a18d2a501b6bde17ee0df68bca4615ba45a..cb9e4c8b0da5e6a6f3c732f0fb16e2c2d83ebd0b 100644 |
--- a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
+++ b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
@@ -35,7 +35,7 @@ main() { |
String name = 'foo'; |
var element = cls.lookupLocalMember(name); |
Expect.isNotNull(element); |
- Selector selector = new Selector.getter(name, null); |
+ Selector selector = new Selector.getter(new PublicName(name)); |
Expect.isFalse(compiler.world.hasAnyUserDefinedGetter(selector, null)); |
})); |
} |