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

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 2491173002: Rename setters VariableElementImpl.[const3, final2] to isConst and isFinal. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: pkg/analyzer/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index d8f0ce26e61bea9e5a86c32927239df42d8c785b..c95f67f98e9056a84acf82f684b01758eb39835e 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -1645,9 +1645,9 @@ class _UnitResynthesizer {
implicitVariables[name] = variable;
accessorsData.implicitVariables.add(variable);
variable.synthetic = true;
- variable.final2 = kind == UnlinkedExecutableKind.getter;
+ variable.isFinal = kind == UnlinkedExecutableKind.getter;
} else {
- variable.final2 = false;
+ variable.isFinal = false;
}
accessor.variable = variable;
// link
« no previous file with comments | « pkg/analyzer/lib/src/generated/testing/element_factory.dart ('k') | pkg/analyzer/test/src/dart/constant/utilities_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698