| Index: compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java b/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
|
| index 51ccde285eb8e5fe8bf6dbc01014cc93a2c84334..28015cd8228ccb0d6ca5fccfff2ad363809bdf9d 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
|
| @@ -1,18 +1,16 @@
|
| -// 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.InterfaceType;
|
| -import com.google.dart.compiler.type.Type;
|
|
|
| import java.util.List;
|
|
|
| public abstract class DartTypedLiteral extends DartExpression {
|
| private final boolean isConst;
|
| private final NodeList<DartTypeNode> typeArguments = NodeList.create(this);
|
| - private InterfaceType type;
|
|
|
| DartTypedLiteral(boolean isConst, List<DartTypeNode> typeArguments) {
|
| this.isConst = isConst;
|
| @@ -28,13 +26,8 @@ public abstract class DartTypedLiteral extends DartExpression {
|
| }
|
|
|
| @Override
|
| - public void setType(Type type) {
|
| - this.type = (InterfaceType) type;
|
| - }
|
| -
|
| - @Override
|
| public InterfaceType getType() {
|
| - return type;
|
| + return (InterfaceType) super.getType();
|
| }
|
|
|
| @Override
|
|
|