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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/CommentTest.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/parser/CommentTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java b/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
index cfefd14362bda35b3636f486c7632bf154122fb0..dee5e3a4dbadd83c3b3ebbb9eded51963bf1a15e 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
@@ -115,8 +115,8 @@ public class CommentTest extends CompilerTestCase {
private void assertDeclComments(DartUnit unit, String name, String comments) {
for (DartNode node : unit.getTopLevelNodes()) {
- if (node instanceof DartDeclaration && node.getSymbol() != null
- && name.equals(node.getSymbol().getOriginalSymbolName())) {
+ if (node instanceof DartDeclaration && node.getElement() != null
+ && name.equals(node.getElement().getOriginalName())) {
DartDeclaration<?> decl = (DartDeclaration<?>)node;
String nodeComments = null;

Powered by Google App Engine
This is Rietveld 408576698