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

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

Issue 1575323003: Resynth the 'final' property of top-level variables. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | pkg/analyzer/test/src/summary/resynthesize_test.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 23b103cb3f4d6c44f4390ee411e1e9892b8566e2..5ce66aaa6826322fe0b1404c07e10a401be39733 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -948,6 +948,7 @@ class _LibraryResynthesizer {
UnlinkedVariable serializedVariable) {
element.type = buildType(serializedVariable.type);
element.const3 = serializedVariable.isConst;
+ element.final2 = serializedVariable.isFinal;
element.hasImplicitType = serializedVariable.hasImplicitType;
buildDocumentation(element, serializedVariable.documentationComment);
}
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/resynthesize_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698