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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java

Issue 22854024: Rename Identifier.getElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: clean-up and fix Created 7 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
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java
index 922c5291208b831aefdaa4c5f67dde7decf21943..6824fb5d17e35d1fb8595d6495ade20a0f39d20f 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeVerifier.java
@@ -242,7 +242,7 @@ public class StaticTypeVerifier extends GeneralizingASTVisitor<Void> {
} else if (parent instanceof ConstructorFieldInitializer
&& node == ((ConstructorFieldInitializer) parent).getFieldName()) {
return null;
- } else if (node.getElement() instanceof PrefixElement) {
+ } else if (node.getStaticElement() instanceof PrefixElement) {
// Prefixes don't have a type.
return null;
}

Powered by Google App Engine
This is Rietveld 408576698