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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java

Issue 26746002: Issue 13918. final fields induce setters that are illegal to call (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java
index bef3128649b3c5392e3bb026282c7a6c9ee7f360..1e337b461ecdf786f849fe59a491ba245ce9316d 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/ElementBuilder.java
@@ -760,7 +760,7 @@ public class ElementBuilder extends RecursiveASTVisitor<Void> {
currentHolder.addAccessor(getter);
variable.setGetter(getter);
- if (!isFinal) {
+ {
Brian Wilkerson 2013/10/09 19:57:48 nit: please remove the unnecessary block
scheglov 2013/10/09 20:04:00 Done.
PropertyAccessorElementImpl setter = new PropertyAccessorElementImpl(variable);
setter.setSetter(true);
setter.setStatic(variable.isStatic());

Powered by Google App Engine
This is Rietveld 408576698