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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.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/DartParameterizedTypeNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java b/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
index 08f19c9814e89faa66041b586182d25946f04de5..bf684ac85953cdb6ec4fd9d62388923bbf38f6ee 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
@@ -1,17 +1,14 @@
-// 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;
public class DartParameterizedTypeNode extends DartExpression {
private DartExpression expression;
private final NodeList<DartTypeParameter> typeParameters = NodeList.create(this);
- private Type type;
public DartParameterizedTypeNode(DartExpression expression, List<DartTypeParameter> typeParameters) {
setExpression(expression);
@@ -27,11 +24,6 @@ public class DartParameterizedTypeNode extends DartExpression {
return expression;
}
- @Override
- public Type getType() {
- return type;
- }
-
public List<DartTypeParameter> getTypeParameters() {
return typeParameters;
}
@@ -41,11 +33,6 @@ public class DartParameterizedTypeNode extends DartExpression {
}
@Override
- public void setType(Type type) {
- this.type = type;
- }
-
- @Override
public void visitChildren(ASTVisitor<?> visitor) {
getExpression().accept(visitor);
typeParameters.accept(visitor);

Powered by Google App Engine
This is Rietveld 408576698