Index: pkg/analyzer2dart/lib/src/modely.dart |
diff --git a/pkg/analyzer2dart/lib/src/modely.dart b/pkg/analyzer2dart/lib/src/modely.dart |
index 640680fc9c624cdd135ffdfd74f2cf793e267ab6..014bcc96cc5f88a623abf777c3431cd6c7216238 100644 |
--- a/pkg/analyzer2dart/lib/src/modely.dart |
+++ b/pkg/analyzer2dart/lib/src/modely.dart |
@@ -420,7 +420,7 @@ class LocalFunctionElementY extends ElementY |
} |
class ParameterElementY extends ElementY |
- with AnalyzableElementY, AstElementY |
+ with AnalyzableElementY, AstElementY, VariableElementMixin |
implements dart2js.ParameterElement { |
analyzer.ParameterElement get element => super.element; |
@@ -459,12 +459,6 @@ class ParameterElementY extends ElementY |
get functionDeclaration => unsupported('functionDeclaration'); |
@override |
- get initializer => unsupported('initializer'); |
- |
- @override |
- get memberContext => unsupported('memberContext'); |
- |
- @override |
get functionSignature => unsupported('functionSignature'); |
} |
@@ -718,6 +712,9 @@ abstract class VariableElementMixin |
@override |
get memberContext => unsupported('memberContext'); |
+ |
+ @override |
+ get constant => unsupported('constant'); |
} |
class TopLevelVariableElementY extends ElementY |
@@ -861,6 +858,14 @@ class ConstructorElementY extends ElementY |
@override |
get nestedClosures => unsupported('nestedClosures'); |
+ |
+ @override |
+ get constantConstructor => unsupported('constantConstructor'); |
+ |
+ @override |
+ get isFromEnvironmentConstructor { |
+ unsupported('isFromEnvironmentConstructor'); |
+ } |
} |
class InstanceMethodElementY extends ElementY |