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

Unified Diff: pkg/compiler/lib/src/js_model/closure.dart

Issue 2994503002: closure fields must set isStatic (Closed)
Patch Set: Created 3 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_model/closure.dart
diff --git a/pkg/compiler/lib/src/js_model/closure.dart b/pkg/compiler/lib/src/js_model/closure.dart
index 4a463a65534ff3e17022bcb05c368def029129ed..3a90f6562955abb4c67267e0a7da50a2a9eccc3a 100644
--- a/pkg/compiler/lib/src/js_model/closure.dart
+++ b/pkg/compiler/lib/src/js_model/closure.dart
@@ -388,7 +388,7 @@ class JClosureField extends JField {
KernelClosureClass containingClass, bool isConst, bool isAssignable)
: super(memberIndex, containingClass.library, containingClass,
new Name(name, containingClass.library),
- isAssignable: isAssignable, isConst: isConst);
+ isAssignable: isAssignable, isConst: isConst, isStatic: false);
}
/// A ClosureField that has been "boxed" to prevent name shadowing with the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698