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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/element/ElementFactory.java

Issue 384093002: Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_test/src/com/google/dart/engine/element/ElementFactory.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/element/ElementFactory.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/element/ElementFactory.java
index 049e0709f93fb9d03be94f7e0fe573e389e6c43b..63a5b3949fa2278bbfc28d83d81b7e42e55f373a 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/element/ElementFactory.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/element/ElementFactory.java
@@ -441,9 +441,7 @@ public final class ElementFactory {
}
public static TopLevelVariableElementImpl topLevelVariableElement(String name) {
- TopLevelVariableElementImpl element = new TopLevelVariableElementImpl(name, -1);
- element.setSynthetic(true);
- return element;
+ return topLevelVariableElement(name, false, false, null);
}
public static TopLevelVariableElementImpl topLevelVariableElement(String name, boolean isConst,

Powered by Google App Engine
This is Rietveld 408576698