Index: lib/compiler/implementation/typechecker.dart |
diff --git a/lib/compiler/implementation/typechecker.dart b/lib/compiler/implementation/typechecker.dart |
index d5a28e217d7ed8dcd23c22aab0da7e279c434078..d8a547290b4ba8c3b220f3ae7a9d51e5f25535f8 100644 |
--- a/lib/compiler/implementation/typechecker.dart |
+++ b/lib/compiler/implementation/typechecker.dart |
@@ -605,7 +605,7 @@ class TypeCheckerVisitor implements Visitor<DartType> { |
} |
fail(selector, 'unexpected operator ${name}'); |
- } else if (node.isPropertyAccess) { |
+ } else if (node.isPropertyAccessOrTypeReference) { |
if (node.receiver !== null) { |
// TODO(karlklose): we cannot handle fields. |
return unhandledExpression(); |