Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 2029003002: Introduces "--initializing-formal-access". (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/typechecker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3f5f839afe7ffa4d9be9d0cb58269041844e039e..6992c38e826c3fa210f5c093ffdefb433bccb1de 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -2041,7 +2041,7 @@ class LocalParameterElementZ extends ParameterElementZ
ElementKind get kind => ElementKind.PARAMETER;
}
-class InitializingFormalElementZ extends ParameterElementZ
+class InitializingFormalElementZ extends LocalParameterElementZ
implements InitializingFormalElement {
FieldElement _fieldElement;
@@ -2062,6 +2062,9 @@ class InitializingFormalElementZ extends ParameterElementZ
@override
ElementKind get kind => ElementKind.INITIALIZING_FORMAL;
+
+ @override
+ bool get isLocal => true;
}
class LocalVariableElementZ extends DeserializedElementZ
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698