We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed1b5e9 commit 5472ed4Copy full SHA for 5472ed4
src/parser/parser_lib.ts
@@ -60,6 +60,7 @@ export class Parser<T> {
60
SourceMemo<MemoizationCacheResult<ParserResult<T>>>
61
>(
62
(input) => {
63
+ // TODO: remove assertion
64
assertGreaterOrEqual(input.source.length, input.position);
65
return parser(input);
66
},
0 commit comments