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 3a2260c commit 65940b5Copy full SHA for 65940b5
src/translator/nanpa.ts
@@ -21,6 +21,7 @@ export function nanpa(
21
`${phrase.type} within "position X" phrase`,
22
),
23
)
24
+ // TODO: do this on `fixer.ts` instead
25
: (phrase.noun as English.NounPhrase & { type: "simple" })
26
.prepositions.length > 0
27
? throwError(
src/translator/phrase.ts
@@ -72,6 +72,7 @@ function nounPhrase(
72
if (prepositions.length > 1) {
73
throw new FilteredError("multiple preposition within noun phrase");
74
}
75
76
if (prepositions.length > 0 && postAdjective != null) {
77
throw new FilteredError("named noun with preposition");
78
0 commit comments