Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 30644) |
+++ sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy) |
@@ -2588,7 +2588,7 @@ |
// type variable expression. |
mapping.setType(node, compiler.typeClass.computeType(compiler)); |
world.registerTypeLiteral(target, mapping); |
- } else if (target.impliesType() && !sendIsMemberAccess) { |
+ } else if (target.impliesType() && (!sendIsMemberAccess || node.isCall)) { |
// Set the type of the node to [Type] to mark this send as a |
// type literal. |
mapping.setType(node, compiler.typeClass.computeType(compiler)); |