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

Unified Diff: pkg/compiler/lib/src/tree/nodes.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/tree/nodes.dart
diff --git a/pkg/compiler/lib/src/tree/nodes.dart b/pkg/compiler/lib/src/tree/nodes.dart
index 9335fef859d950573231a6ffac2c9611bc51107a..92c440b4d56860bd113ee3fd44c05ebb6bdf11b1 100644
--- a/pkg/compiler/lib/src/tree/nodes.dart
+++ b/pkg/compiler/lib/src/tree/nodes.dart
@@ -1737,8 +1737,9 @@ class TypeAnnotation extends Node {
class TypeVariable extends Node {
final Identifier name;
+ final Token extendsOrSuper;
final TypeAnnotation bound;
- TypeVariable(Identifier this.name, TypeAnnotation this.bound);
+ TypeVariable(this.name, this.extendsOrSuper, this.bound);
accept(Visitor visitor) => visitor.visitTypeVariable(this);

Powered by Google App Engine
This is Rietveld 408576698