| Index: pkg/compiler/lib/src/elements/modelx.dart
|
| diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart
|
| index c833a098fcf907df78cd0a61b153b3341622d014..58ed2f1f33988aaf12f6b88855968832f9c2009a 100644
|
| --- a/pkg/compiler/lib/src/elements/modelx.dart
|
| +++ b/pkg/compiler/lib/src/elements/modelx.dart
|
| @@ -26,6 +26,7 @@ import '../tree/tree.dart';
|
| import '../util/util.dart';
|
| import 'common.dart';
|
| import 'elements.dart';
|
| +import 'entities.dart';
|
| import 'resolution_types.dart';
|
| import 'visitor.dart' show ElementVisitor;
|
|
|
| @@ -245,6 +246,7 @@ class ErroneousElementX extends ElementX
|
| get type => unsupported();
|
| get cachedNode => unsupported();
|
| get functionSignature => unsupported();
|
| + get parameterStructure => unsupported();
|
| get parameters => unsupported();
|
| get patch => null;
|
| get origin => this;
|
| @@ -434,6 +436,11 @@ class ErroneousConstructorElementX extends ErroneousElementX
|
| }
|
|
|
| @override
|
| + get parameterStructure {
|
| + throw new UnsupportedError("parameterStructure");
|
| + }
|
| +
|
| + @override
|
| get nestedClosures {
|
| throw new UnsupportedError("nestedClosures");
|
| }
|
| @@ -2015,6 +2022,9 @@ abstract class BaseFunctionElementX extends ElementX
|
| return isClassMember && !isConstructor && !isStatic;
|
| }
|
|
|
| + ParameterStructure get parameterStructure =>
|
| + functionSignature.parameterStructure;
|
| +
|
| bool get hasFunctionSignature => _functionSignatureCache != null;
|
|
|
| void _computeSignature(Resolution resolution) {
|
|
|