| Index: compiler/java/com/google/dart/compiler/ast/DartNewExpression.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartNewExpression.java b/compiler/java/com/google/dart/compiler/ast/DartNewExpression.java
|
| index 7d9012c604e9ef0350be2727227b59d2204a2afa..23382432a328cb6b698170ef80facf1527c03bad 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartNewExpression.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartNewExpression.java
|
| @@ -7,6 +7,7 @@ package com.google.dart.compiler.ast;
|
| import com.google.dart.compiler.common.HasSymbol;
|
| import com.google.dart.compiler.common.Symbol;
|
| import com.google.dart.compiler.resolver.ConstructorElement;
|
| +import com.google.dart.compiler.type.Type;
|
|
|
| import java.util.List;
|
|
|
| @@ -29,6 +30,11 @@ public class DartNewExpression extends DartInvocation implements HasSymbol {
|
| return constructor;
|
| }
|
|
|
| + @Override
|
| + public Type getType() {
|
| + return constructor.getType();
|
| + }
|
| +
|
| public boolean isConst() {
|
| return isConst;
|
| }
|
|
|