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

Unified Diff: pkg/compiler/lib/src/parser/partial_elements.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/partial_elements.dart
diff --git a/pkg/compiler/lib/src/parser/partial_elements.dart b/pkg/compiler/lib/src/parser/partial_elements.dart
index ca1ef2e1068656628c4b04863057e12e4e78e254..6cbc22c5707ca0d863fc9af0b9305c04148651bb 100644
--- a/pkg/compiler/lib/src/parser/partial_elements.dart
+++ b/pkg/compiler/lib/src/parser/partial_elements.dart
@@ -42,7 +42,9 @@ import 'node_listener.dart' show NodeListener;
class ClassElementParser extends ClassMemberParser {
ClassElementParser(Listener listener) : super(listener);
- Token parseFormalParameters(Token token) => skipFormalParameters(token);
+ Token parseFormalParameters(Token token, {bool inFunctionType: false}) {
+ return skipFormalParameters(token);
+ }
}
abstract class PartialElement implements DeclarationSite {

Powered by Google App Engine
This is Rietveld 408576698