Index: lib/src/compiler/code_generator.dart |
diff --git a/lib/src/compiler/code_generator.dart b/lib/src/compiler/code_generator.dart |
index efd3de99c60dc02ece3c50b063de1bab89e6d39e..c6a700390f429d073f854cae677efa1797b670d9 100644 |
--- a/lib/src/compiler/code_generator.dart |
+++ b/lib/src/compiler/code_generator.dart |
@@ -4302,8 +4302,9 @@ class CodeGenerator extends GeneralizingAstVisitor |
return AstBuilder.propertyAccess(newTarget, node.propertyName); |
} else { |
var invoke = node as MethodInvocation; |
- return AstBuilder.methodInvoke( |
- newTarget, invoke.methodName, invoke.argumentList.arguments); |
+ return AstBuilder.methodInvoke(newTarget, invoke.methodName, |
+ invoke.typeArguments, invoke.argumentList.arguments) |
+ ..staticInvokeType = invoke.staticInvokeType; |
} |
} |