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

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

Issue 1228063003: fix for 1.12.0-dev SDK and 0.25.1 analyzer breaking changes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
Index: lib/src/codegen/ast_builder.dart
diff --git a/lib/src/codegen/ast_builder.dart b/lib/src/codegen/ast_builder.dart
index 5c4e6a1a536a99e402c6b6a7f130ab5ceb18ec1b..d955479aff22ba09956fcd7ab7d799a491c04f49 100644
--- a/lib/src/codegen/ast_builder.dart
+++ b/lib/src/codegen/ast_builder.dart
@@ -429,7 +429,7 @@ class RawAstBuilder {
static Expression functionExpressionInvocation(
Expression function, ArgumentList es) {
- return new FunctionExpressionInvocation(function, es);
+ return new FunctionExpressionInvocation(function, null, es);
Jennifer Messerly 2015/07/09 17:03:29 the `null` is for generic type args \o/
}
static FormalParameterList formalParameterList(List<FormalParameter> params) {
@@ -477,12 +477,12 @@ class RawAstBuilder {
{bool isStatic: false}) {
Token st = isStatic ? new KeywordToken(Keyword.STATIC, 0) : null;
return new MethodDeclaration(
- null, null, null, st, rt, null, null, m, fl, body);
+ null, null, null, st, rt, null, null, m, null, fl, body);
}
static FunctionExpression functionExpression(
FormalParameterList fl, FunctionBody body) {
- return new FunctionExpression(fl, body);
+ return new FunctionExpression(null, fl, body);
}
static FunctionDeclarationStatement functionDeclarationStatement(
@@ -502,7 +502,8 @@ class RawAstBuilder {
static FunctionTypedFormalParameter functionTypedFormalParameter(
TypeName ret, Identifier v, FormalParameterList ps) {
- return new FunctionTypedFormalParameter(null, <Annotation>[], ret, v, ps);
+ return new FunctionTypedFormalParameter(
+ null, <Annotation>[], ret, v, null, ps);
}
static FormalParameter requiredFormalParameter(NormalFormalParameter fp) {

Powered by Google App Engine
This is Rietveld 408576698