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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartTypeNode.java

Issue 10449038: Issue 3251. Fixes for node type (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/DartTypeNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java b/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
index 8e537509564f1616f6e31d88bdb84fa2227aed97..f7b6b105073ac0b5462157e24bb1d453ad3cdccb 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
@@ -1,11 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.type.Type;
-
import java.util.List;
/**
@@ -15,7 +13,6 @@ public class DartTypeNode extends DartNode {
private DartNode identifier;
private NodeList<DartTypeNode> typeArguments = NodeList.create(this);
- private Type type;
public DartTypeNode(DartNode identifier) {
this(identifier, null);
@@ -35,16 +32,6 @@ public class DartTypeNode extends DartNode {
}
@Override
- public void setType(Type type) {
- this.type = type;
- }
-
- @Override
- public Type getType() {
- return type;
- }
-
- @Override
public void visitChildren(ASTVisitor<?> visitor) {
identifier.accept(visitor);
typeArguments.accept(visitor);

Powered by Google App Engine
This is Rietveld 408576698