We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f43b7 commit 7c39327Copy full SHA for 7c39327
dictionary/parser.ts
@@ -469,13 +469,10 @@ const verbDefinition = checkedSequence(
469
forObject: false,
470
predicateType: "noun adjective",
471
})),
472
- new CheckedParser(
473
- nothing,
+ checkedSequence(
+ closeParenthesis,
474
sequence(
475
- closeParenthesis
476
- .with(
477
- optionalWithCheck(checkedNoun),
478
- ),
+ optionalWithCheck(checkedNoun),
479
optionalWithCheck(
480
checkedSimpleUnitWith(
481
"prep",
@@ -491,7 +488,7 @@ const verbDefinition = checkedSequence(
491
488
),
492
489
493
490
)
494
- .map<PartialVerb>(([directObject, rawIndirectObject]) => {
+ .map<PartialVerb>(([_, [directObject, rawIndirectObject]]) => {
495
if (rawIndirectObject == null) {
496
return {
497
directObject,
0 commit comments