Skip to content

Commit 5472ed4

Browse files
committed
add todo
1 parent ed1b5e9 commit 5472ed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser/parser_lib.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class Parser<T> {
6060
SourceMemo<MemoizationCacheResult<ParserResult<T>>>
6161
>(
6262
(input) => {
63+
// TODO: remove assertion
6364
assertGreaterOrEqual(input.source.length, input.position);
6465
return parser(input);
6566
},

0 commit comments

Comments
 (0)