Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1740)

Unified Diff: lib/src/compiler/ast_builder.dart

Issue 2132763002: Fix null aware generic invocation. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Fix null aware generic invoke Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | lib/src/compiler/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/ast_builder.dart
diff --git a/lib/src/compiler/ast_builder.dart b/lib/src/compiler/ast_builder.dart
index f2d448e7a225ce783301d5470e76ebea4d78d6d0..76d534d72f5c26b5d7a3b127dfabae2bca8db3ed 100644
--- a/lib/src/compiler/ast_builder.dart
+++ b/lib/src/compiler/ast_builder.dart
@@ -105,10 +105,11 @@ class AstBuilder {
return new PropertyAccess(target, p, name);
}
- static MethodInvocation methodInvoke(
- Expression target, SimpleIdentifier name, NodeList<Expression> args) {
+ static MethodInvocation methodInvoke(Expression target, SimpleIdentifier name,
+ TypeArgumentList typeArguments, NodeList<Expression> args) {
var p = new Token(TokenType.PERIOD, 0);
- return new MethodInvocation(target, p, name, null, argumentList(args));
+ return new MethodInvocation(
+ target, p, name, typeArguments, argumentList(args));
}
static TokenType getTokenType(String lexeme) {
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | lib/src/compiler/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698