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

Unified Diff: pkg/front_end/lib/src/fasta/source/outline_builder.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/front_end/lib/src/fasta/source/outline_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/outline_builder.dart b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
index 94738758aaf84b70dc9734621ad2d05af68e40b7..a5d08dd00323c0a8d710fdd8d2507f562f32b250 100644
--- a/pkg/front_end/lib/src/fasta/source/outline_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
@@ -346,7 +346,7 @@ class OutlineBuilder extends UnhandledListener {
}
@override
- void handleType(Token beginToken, Token endToken) {
+ void endType(Token beginToken, Token endToken) {
debugEvent("Type");
List<TypeBuilder> arguments = pop();
String name = pop();
@@ -459,8 +459,7 @@ class OutlineBuilder extends UnhandledListener {
}
@override
- void endFunctionTypeAlias(
- Token typedefKeyword, Token equals, Token endToken) {
+ void endFunctionTypeAlias(Token typedefKeyword, Token endToken) {
debugEvent("endFunctionTypeAlias");
List<FormalParameterBuilder> formals = pop();
List<TypeVariableBuilder> typeVariables = pop();
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/diet_parser.dart ('k') | pkg/front_end/test/fasta/function_type_recovery_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698