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 ebd8920 commit 1b309e3Copy full SHA for 1b309e3
dictionary/parser.ts
@@ -376,24 +376,22 @@ const twoFormPersonalPronounDefinition = checkedSequence(
376
}) as const
377
);
378
const nounDefinition = new CheckedParser(
379
- choiceOnlyOne(
380
- sequence(
+ choiceWithCheck(
+ checkedSequence(
381
determiner.parser,
382
choiceOnlyOne(
383
determiner.check,
384
adjective.check,
385
),
386
- )
387
- .map(() => null),
388
+ ) as CheckedParser<unknown>,
389
adjective.parser,
390
391
392
nounOnly.check,
393
394
395
396
- nounOnly.check,
+ ),
+ checkedAsWhole(nounOnly.check),
397
398
sequence(
399
noun,
0 commit comments