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; |