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

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

Issue 2710973002: Revert "Add support for the new function-type syntax." (Closed)
Patch Set: 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 6cbc22c5707ca0d863fc9af0b9305c04148651bb..ca1ef2e1068656628c4b04863057e12e4e78e254 100644
--- a/pkg/compiler/lib/src/parser/partial_elements.dart
+++ b/pkg/compiler/lib/src/parser/partial_elements.dart
@@ -42,9 +42,7 @@ import 'node_listener.dart' show NodeListener;
class ClassElementParser extends ClassMemberParser {
ClassElementParser(Listener listener) : super(listener);
- Token parseFormalParameters(Token token, {bool inFunctionType: false}) {
- return skipFormalParameters(token);
- }
+ Token parseFormalParameters(Token token) => skipFormalParameters(token);
}
abstract class PartialElement implements DeclarationSite {
« no previous file with comments | « pkg/compiler/lib/src/parser/node_listener.dart ('k') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698