| Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| index e21497a92f74f4c2826526b727848f4742d07a48..b7486dd22918302c9ae0531784e07d6acf3e6246 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -1342,6 +1342,9 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| || Elements.isTopLevel(element))) {
|
| return element.getType();
|
| }
|
| + if (element instanceof ConstructorElement) {
|
| + return element.getType();
|
| + }
|
| DartNode qualifier = node.getQualifier();
|
| Type receiver = nonVoidTypeOf(qualifier);
|
| InterfaceType cls = types.getInterfaceType(receiver);
|
|
|