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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Fixes after rebase. Created 3 years, 10 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/diet_parser_task.dart
diff --git a/pkg/compiler/lib/src/parser/diet_parser_task.dart b/pkg/compiler/lib/src/parser/diet_parser_task.dart
index d987f5773878b324229667cdec2e886a8a0a211c..03a82220e3702d5e91394a6584d364d25a78b11b 100644
--- a/pkg/compiler/lib/src/parser/diet_parser_task.dart
+++ b/pkg/compiler/lib/src/parser/diet_parser_task.dart
@@ -17,7 +17,9 @@ import 'package:front_end/src/fasta/parser.dart'
class PartialParser extends TopLevelParser {
PartialParser(Listener listener) : super(listener);
- Token parseFormalParameters(Token token) => skipFormalParameters(token);
+ Token parseFormalParameters(Token token, {bool inFunctionType: false}) {
+ return skipFormalParameters(token);
+ }
}
class DietParserTask extends CompilerTask {

Powered by Google App Engine
This is Rietveld 408576698