Chromium Code Reviews| 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 3ef0fb36cdbd320122c384c603c2696984e76c38..d6054acb91283f39abab302df4a2eae70659f4a0 100644 |
| --- a/pkg/compiler/lib/src/tree/nodes.dart |
| +++ b/pkg/compiler/lib/src/tree/nodes.dart |
| @@ -1735,8 +1735,7 @@ class Rethrow extends Statement { |
| Token getEndToken() => endToken; |
| } |
| -abstract class TypeAnnotation extends Node { |
| -} |
| +abstract class TypeAnnotation extends Node {} |
| class NominalTypeAnnotation extends TypeAnnotation { |
| final Expression typeName; |
| @@ -2891,6 +2890,7 @@ class Typedef extends Node { |
| final TypeAnnotation returnType; |
| final Identifier name; |
| + |
| /// The generic type parameters to the function type. |
| /// |
| /// For example `A` and `B` (but not `T`) are type parameters in |
| @@ -2901,8 +2901,14 @@ class Typedef extends Node { |
| final Token typedefKeyword; |
| final Token endToken; |
| - Typedef(this.isGeneralizedTypeAlias, this.templateParameters, this.returnType, |
| - this.name, this.typeParameters, this.formals, this.typedefKeyword, |
| + Typedef( |
| + this.isGeneralizedTypeAlias, |
|
Siggi Cherem (dart-lang)
2017/01/18 19:27:53
FYI I reverted the generalized type alias change,
|
| + this.templateParameters, |
| + this.returnType, |
| + this.name, |
| + this.typeParameters, |
| + this.formals, |
| + this.typedefKeyword, |
| this.endToken); |
| Typedef asTypedef() => this; |