| Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/elements/modelx.dart (revision 26119)
|
| +++ sdk/lib/_internal/compiler/implementation/elements/modelx.dart (working copy)
|
| @@ -1419,16 +1419,17 @@
|
| FunctionElement get targetConstructor => superMember;
|
|
|
| FunctionSignature computeSignature(compiler) {
|
| + if (functionSignature != null) return functionSignature;
|
| if (isDefaultConstructor) {
|
| - return new FunctionSignatureX(
|
| + return functionSignature = new FunctionSignatureX(
|
| const Link<Element>(), const Link<Element>(), 0, 0, false,
|
| getEnclosingClass().thisType);
|
| }
|
| if (superMember.isErroneous()) {
|
| - return compiler.objectClass.localLookup(
|
| + return functionSignature = compiler.objectClass.localLookup(
|
| const SourceString('')).computeSignature(compiler);
|
| }
|
| - return superMember.computeSignature(compiler);
|
| + return functionSignature = superMember.computeSignature(compiler);
|
| }
|
|
|
| get declaration => this;
|
|
|