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

Unified Diff: tests/compiler/dart2js/patch_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: 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/patch_test.dart
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
index 01d606c414b91bf03198e9fad2166dfc7fa09923..64f7f5858745e9c8ec2a104b86cc68c106593081 100644
--- a/tests/compiler/dart2js/patch_test.dart
+++ b/tests/compiler/dart2js/patch_test.dart
@@ -872,7 +872,7 @@ testPatchAndSelector() {
// Check that a method just in the patch class is a target for a
// typed selector.
- Selector selector = new Selector.call('method', compiler.coreLibrary, 0);
+ Selector selector = new Selector.call(const PublicName('method'), 0);
TypeMask typeMask = new TypeMask.exact(cls, world);
FunctionElement method = cls.implementation.lookupLocalMember('method');
method.computeType(compiler);
@@ -881,7 +881,7 @@ testPatchAndSelector() {
// Check that the declaration method in the declaration class is a target
// for a typed selector.
- selector = new Selector.call('clear', compiler.coreLibrary, 0);
+ selector = new Selector.call(const PublicName('clear'), 0);
typeMask = new TypeMask.exact(cls, world);
method = cls.lookupLocalMember('clear');
method.computeType(compiler);

Powered by Google App Engine
This is Rietveld 408576698