Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index a69b35950f82b7543c57db1a381905fd582867f6..aac37d7815d3959a45a59e1b4761606c98ce45d0 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -3011,7 +3011,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
if (element is! ClassElement) return null; |
ClassElement cls = element; |
cls.ensureResolved(resolution); |
- return cls.computeType(resolution); |
+ cls.computeType(resolution); |
+ return cls.rawType; |
} |
/// Handle index operations like `a[b] = c`, `a[b] += c`, and `a[b]++`. |