Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
index 5ce325184ecfc3cc7673858d736c8478c8a035f2..5556303cbc0d82811d96be758fb80fdd5d5888d7 100644 |
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -2211,6 +2211,9 @@ class ResolverVisitor extends MappingVisitor<Element> { |
compiler.backend.registerClassUsingVariableExpression(cls); |
compiler.backend.registerTypeVariableExpression(mapping); |
} else if (target.impliesType() && !sendIsMemberAccess) { |
+ // Set the type of the node to [Type] to mark this send as a |
+ // type literal. |
+ mapping.setType(node, compiler.typeClass.computeType(compiler)); |
compiler.backend.registerTypeLiteral(mapping); |
} |
} |