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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart

Issue 2983173002: Remember isFieldFormal informative flag in VariableDeclaration(s). (Closed)
Patch Set: Created 3 years, 5 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/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart ('k') | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
index 56d900c9f35167cd5a036bbffc7b7418e724f9aa..a70cede998894ca4420b9a606e2871708abb2e90 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
@@ -2291,6 +2291,7 @@ class KernelVariableDeclaration extends VariableDeclaration
DartType type,
bool isFinal: false,
bool isConst: false,
+ bool isFieldFormal: false,
bool isLocalFunction: false})
: _implicitlyTyped = type == null,
_isLocalFunction = isLocalFunction,
@@ -2298,7 +2299,8 @@ class KernelVariableDeclaration extends VariableDeclaration
initializer: initializer,
type: type ?? const DynamicType(),
isFinal: isFinal,
- isConst: isConst);
+ isConst: isConst,
+ isFieldFormal: isFieldFormal);
KernelVariableDeclaration.forValue(
Expression initializer, this._functionNestingLevel)
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart ('k') | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698