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

Unified Diff: pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart

Issue 1878253002: Adds support for remaining generic method syntax constructs. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Review response Created 4 years, 8 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/dart_backend/backend_ast_to_frontend_ast.dart
diff --git a/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart b/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
index 1ab7882a44e972e3789ff17ba6003de97e324534..81eae70c8192c51db1bac54801b317ce8eb2c33e 100644
--- a/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
+++ b/pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart
@@ -1106,7 +1106,7 @@ class TreePrinter {
bound =
makeType(TypeGenerator.createType(typeVariable.element.bound));
}
- tree.TypeVariable node = new tree.TypeVariable(id, bound);
+ tree.TypeVariable node = new tree.TypeVariable(id, extendsToken, bound);
treeElements.setType(node, typeVariable);
typeVariableList.add(node);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/parser/element_listener.dart » ('j') | pkg/compiler/lib/src/parser/parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698