Index: pkg/compiler/lib/src/serialization/modelz.dart |
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart |
index 8428777acd0ad9b3b80cc9fdd1e8f0f8bfb4633e..82d02af543c8d63ae3e934af3a2e81527828fc21 100644 |
--- a/pkg/compiler/lib/src/serialization/modelz.dart |
+++ b/pkg/compiler/lib/src/serialization/modelz.dart |
@@ -82,13 +82,13 @@ abstract class ElementZ extends Element with ElementCommon { |
bool get isClosure => false; |
@override |
- bool get isConst => _unsupported('isConst'); |
+ bool get isConst => false; |
@override |
bool get isDeferredLoaderGetter => false; |
@override |
- bool get isFinal => _unsupported('isFinal'); |
+ bool get isFinal => false; |
@override |
bool get isInstanceMember => false; |
@@ -1906,6 +1906,9 @@ class LocalParameterElementZ extends ParameterElementZ |
} |
@override |
+ bool get isLocal => true; |
+ |
+ @override |
ElementKind get kind => ElementKind.PARAMETER; |
} |