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 {
110110 if (prefixResult.type == _PrefixResultType .endOfFile) {
111111 return [];
112112 }
113- if (prefixResult.type == _PrefixResultType .parsedConstructorHint) {
114- children.add (prefixResult.node! );
115- }
116113 // [_PrefixResultType.junk] and [_PrefixResultType.missing] we can skip.
117114
118115 // <commentReference>
@@ -370,7 +367,6 @@ enum _PrefixResultType {
370367 endOfFile, // Found end of file instead of a prefix.
371368 junk, // Found some recognized junk that can be ignored.
372369 missing, // There is no prefix here.
373- parsedConstructorHint, // Parsed a [ConstructorHintStartNode].
374370}
375371
376372/// 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';
77
88void main () {
99 void expectParseEquivalent (String codeRef, List <String > parts,
10- {bool constructorHint = false , bool callableHint = false }) {
10+ {bool callableHint = false }) {
1111 var result = CommentReferenceParser (codeRef).parse ();
1212 var hasCallableHint =
1313 result.isNotEmpty && result.last is CallableHintEndNode ;
You can’t perform that action at this time.
0 commit comments