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

Unified Diff: pkg/compiler/lib/src/parser/partial_parser.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Remove obsolete named argument. Created 3 years, 12 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: pkg/compiler/lib/src/parser/partial_parser.dart
diff --git a/pkg/compiler/lib/src/parser/partial_parser.dart b/pkg/compiler/lib/src/parser/partial_parser.dart
index 6aaa52cd776079d3855d7f0b7da5e70e9c1e24ab..1c037904a83b90d972409ead9c88e40cd24208fd 100644
--- a/pkg/compiler/lib/src/parser/partial_parser.dart
+++ b/pkg/compiler/lib/src/parser/partial_parser.dart
@@ -156,7 +156,8 @@ class PartialParser extends Parser {
return token;
}
- Token parseFormalParameters(Token token) => skipFormals(token);
+ Token parseFormalParameters(Token token, {bool inFunctionType: false})
+ => skipFormals(token);
Token skipFormals(Token token) {
listener.beginOptionalFormalParameters(token);

Powered by Google App Engine
This is Rietveld 408576698