File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,6 @@ class CommentReferenceParser {
110
110
if (prefixResult.type == _PrefixResultType .endOfFile) {
111
111
return [];
112
112
}
113
- if (prefixResult.type == _PrefixResultType .parsedConstructorHint) {
114
- children.add (prefixResult.node! );
115
- }
116
113
// [_PrefixResultType.junk] and [_PrefixResultType.missing] we can skip.
117
114
118
115
// <commentReference>
@@ -370,7 +367,6 @@ enum _PrefixResultType {
370
367
endOfFile, // Found end of file instead of a prefix.
371
368
junk, // Found some recognized junk that can be ignored.
372
369
missing, // There is no prefix here.
373
- parsedConstructorHint, // Parsed a [ConstructorHintStartNode].
374
370
}
375
371
376
372
/// The result of attempting to parse a prefix to a comment reference.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'package:test/test.dart';
7
7
8
8
void main () {
9
9
void expectParseEquivalent (String codeRef, List <String > parts,
10
- {bool constructorHint = false , bool callableHint = false }) {
10
+ {bool callableHint = false }) {
11
11
var result = CommentReferenceParser (codeRef).parse ();
12
12
var hasCallableHint =
13
13
result.isNotEmpty && result.last is CallableHintEndNode ;
You can’t perform that action at this time.
0 commit comments