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

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

Issue 2489363002: Rename setters synthetic/static to isSynthetic/isStatic. (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
« no previous file with comments | « pkg/analyzer/lib/src/generated/type_system.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c95f67f98e9056a84acf82f684b01758eb39835e..c07a2d8ed77885055ae53095e6ba8be0860fc121 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -213,13 +213,13 @@ abstract class SummaryResynthesizer extends ElementResynthesizer {
if (serializedLibrary == null) {
LibraryElementImpl libraryElement =
new LibraryElementImpl(context, '', -1, 0);
- libraryElement.synthetic = true;
+ libraryElement.isSynthetic = true;
CompilationUnitElementImpl unitElement =
new CompilationUnitElementImpl(librarySource.shortName);
libraryElement.definingCompilationUnit = unitElement;
unitElement.source = librarySource;
unitElement.librarySource = librarySource;
- return libraryElement..synthetic = true;
+ return libraryElement..isSynthetic = true;
}
UnlinkedUnit unlinkedSummary = _getUnlinkedSummaryOrNull(uri);
if (unlinkedSummary == null) {
@@ -1644,7 +1644,7 @@ class _UnitResynthesizer {
variable.enclosingElement = unit;
implicitVariables[name] = variable;
accessorsData.implicitVariables.add(variable);
- variable.synthetic = true;
+ variable.isSynthetic = true;
variable.isFinal = kind == UnlinkedExecutableKind.getter;
} else {
variable.isFinal = false;
« no previous file with comments | « pkg/analyzer/lib/src/generated/type_system.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698