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

Unified Diff: compiler/javatests/com/google/dart/compiler/CompilerTestCase.java

Issue 9633009: Use Element instead of Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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: compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
index 4b89a1e321eb1b32ec774f40a948001dd573dcf8..00107ff0821cf23330c7ef444d42bc46e188543c 100644
--- a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
@@ -349,7 +349,7 @@ public abstract class CompilerTestCase extends TestCase {
rootNode.accept(new ASTVisitor<Void>() {
@Override
public Void visitFunctionTypeAlias(DartFunctionTypeAlias node) {
- if (node.getName().getTargetName().equals(name)) {
+ if (node.getName().getName().equals(name)) {
result[0] = node;
}
return null;

Powered by Google App Engine
This is Rietveld 408576698