| Index: lib/compiler/implementation/compile_time_constants.dart
|
| diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart
|
| index 0f3fd37ec2607592127e49419e484913b8b63c26..ce96502206ad877960880cd7251463b5015f1fcb 100644
|
| --- a/lib/compiler/implementation/compile_time_constants.dart
|
| +++ b/lib/compiler/implementation/compile_time_constants.dart
|
| @@ -767,17 +767,16 @@ class ConstructorEvaluator extends CompileTimeConstantEvaluator {
|
| if (enclosingClass != compiler.objectClass) {
|
| assert(superClass !== null);
|
| assert(superClass.resolutionState == STATE_DONE);
|
| -
|
| - Selector selector =
|
| - new Selector.callDefaultConstructor(enclosingClass.getLibrary());
|
| -
|
| FunctionElement targetConstructor =
|
| - superClass.lookupConstructor(selector);
|
| + superClass.lookupConstructor(superClass.name);
|
| if (targetConstructor === null) {
|
| compiler.internalError("no default constructor available",
|
| node: functionNode);
|
| }
|
|
|
| + Selector selector = new Selector.call(superClass.name,
|
| + enclosingClass.getLibrary(),
|
| + 0);
|
| evaluateSuperOrRedirectSend(functionNode,
|
| selector,
|
| const Link<Node>(),
|
|
|