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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 11415287: noSuchMethod generated for super calls (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 32c597ff41f99635f8645a7a76c352c1cc8942b3..c940e2001b71bd78600f9557d452780e56c2cd47 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -203,6 +203,8 @@ abstract class Compiler implements DiagnosticListener {
static const SourceString CALL_OPERATOR_NAME = const SourceString('call');
static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod');
static const int NO_SUCH_METHOD_ARG_COUNT = 1;
+ static const SourceString CREATE_INVOCATION_MIRROR =
+ const SourceString('createInvocationMirror');
static const SourceString INVOKE_ON = const SourceString('invokeOn');
static const SourceString RUNTIME_TYPE = const SourceString('runtimeType');
static const SourceString START_ROOT_ISOLATE =
@@ -379,7 +381,7 @@ abstract class Compiler implements DiagnosticListener {
enqueuer.codegen.registerInvocation(NO_SUCH_METHOD, selector);
Element createInvocationMirrorElement =
- findHelper(const SourceString('createInvocationMirror'));
+ findHelper(CREATE_INVOCATION_MIRROR);
enqueuer.resolution.addToWorkList(createInvocationMirrorElement);
enqueuer.codegen.addToWorkList(createInvocationMirrorElement);
}

Powered by Google App Engine
This is Rietveld 408576698