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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartTypeParameter.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/java/com/google/dart/compiler/ast/DartTypeParameter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java b/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java
index 11602f4263d9dfe6215547140535a1518da25de5..cf478bb81b7fbf4098aa2257cf4aa195fb385a56 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartTypeParameter.java
@@ -4,8 +4,6 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.common.Symbol;
-import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.type.Type;
/**
@@ -14,7 +12,6 @@ import com.google.dart.compiler.type.Type;
public class DartTypeParameter extends DartDeclaration<DartIdentifier> {
private DartTypeNode bound;
- private Element element;
private Type type;
public DartTypeParameter(DartIdentifier name, DartTypeNode bound) {
@@ -39,16 +36,6 @@ public class DartTypeParameter extends DartDeclaration<DartIdentifier> {
}
@Override
- public Element getSymbol() {
- return element;
- }
-
- @Override
- public void setSymbol(Symbol symbol) {
- this.element = (Element)symbol;
- }
-
- @Override
public Type getType() {
return type;
}

Powered by Google App Engine
This is Rietveld 408576698