| Index: pkg/front_end/lib/src/fasta/analyzer/element_store.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/analyzer/element_store.dart b/pkg/front_end/lib/src/fasta/analyzer/element_store.dart
|
| index 2aa783844c1721c59937dc79984f8e3c0a8adf77..27779ae45aed93876c1515e7e0abc251fd07803a 100644
|
| --- a/pkg/front_end/lib/src/fasta/analyzer/element_store.dart
|
| +++ b/pkg/front_end/lib/src/fasta/analyzer/element_store.dart
|
| @@ -119,7 +119,7 @@ class ElementStoreImplementation implements ElementStore {
|
| return internalError("not supported.");
|
| }
|
|
|
| - Class getClassReference(KernelClassElement cls) => cls.builder.cls;
|
| + Class getClassReference(covariant KernelClassElement cls) => cls.builder.cls;
|
|
|
| Member getMemberReference(Element element) {
|
| if (element is KernelFunctionElement) {
|
| @@ -258,6 +258,12 @@ class AnalyzerLocalVariableElemment extends MockElement with Builder
|
| bool get isConst => false; // TODO(ahe): implement this.
|
|
|
| analyzer.VariableDeclaration get target => variable;
|
| +
|
| + get type => null;
|
| +
|
| + get constantValue => internalError("not supported.");
|
| +
|
| + computeConstantValue() => internalError("not supported.");
|
| }
|
|
|
| /// Both an [Element] and [Builder] to using memory to store local elements in
|
|
|