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

Unified Diff: pkg/dev_compiler/lib/src/compiler/ast_builder.dart

Issue 2624283003: Revert "Add support for generic function type syntax, part 1" (TBR) (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/ast_builder.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/ast_builder.dart b/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
index 2cbfdbf7bdb9aca8e03f75155a4a993a4007ceda..46c57b10e04df024d4194c16bba2668be6f4e0f1 100644
--- a/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
+++ b/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
@@ -35,7 +35,7 @@ class AstBuilder {
return RawAstBuilder.typeParameterList(params);
}
- static TypeArgumentList typeArgumentList(List<TypeAnnotation> args) {
+ static TypeArgumentList typeArgumentList(List<TypeName> args) {
return RawAstBuilder.typeArgumentList(args);
}
@@ -43,7 +43,7 @@ class AstBuilder {
return RawAstBuilder.argumentList(args);
}
- static TypeName typeName(Identifier id, List<TypeAnnotation> args) {
+ static TypeName typeName(Identifier id, List<TypeName> args) {
TypeArgumentList argList = null;
if (args != null && args.length > 0) argList = typeArgumentList(args);
return RawAstBuilder.typeName(id, argList);
@@ -411,7 +411,7 @@ class RawAstBuilder {
return astFactory.typeParameterList(lb, params, rb);
}
- static TypeArgumentList typeArgumentList(List<TypeAnnotation> args) {
+ static TypeArgumentList typeArgumentList(List<TypeName> args) {
Token lb = new Token(TokenType.LT, 0);
Token rb = new Token(TokenType.GT, 0);
return astFactory.typeArgumentList(lb, args, rb);
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698