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

Unified Diff: pkg/compiler/lib/src/tree/nodes.dart

Issue 2644533002: Mostly use entities in use.dart (Closed)
Patch Set: Fixes 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
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;

Powered by Google App Engine
This is Rietveld 408576698