Chromium Code Reviews| Index: pkg/analyzer/lib/src/fasta/ast_builder.dart |
| diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
| index a49b372d46c16ff4ff500f0306f104a228272a36..70a7539d3cd64b939cd03f22ad0543f247a48767 100644 |
| --- a/pkg/analyzer/lib/src/fasta/ast_builder.dart |
| +++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
| @@ -1938,6 +1938,11 @@ class AstBuilder extends ScopeListener { |
| return tokenToStartReplacing; |
| } |
| + @override |
| + void discardTypeReplacedWithCommentTypeAssign() { |
|
Paul Berry
2017/05/01 18:24:42
Do we need to add a similar override to BodyBuilde
|
| + pop(); |
| + } |
| + |
| /// Check if the given [token] has a comment token with the given [info], |
| /// which should be either [TokenType.GENERIC_METHOD_TYPE_ASSIGN] or |
| /// [TokenType.GENERIC_METHOD_TYPE_LIST]. If found, parse the comment |