Skip to content

Commit 65940b5

Browse files
committed
add todo notes
1 parent 3a2260c commit 65940b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/translator/nanpa.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function nanpa(
2121
`${phrase.type} within "position X" phrase`,
2222
),
2323
)
24+
// TODO: do this on `fixer.ts` instead
2425
: (phrase.noun as English.NounPhrase & { type: "simple" })
2526
.prepositions.length > 0
2627
? throwError(

src/translator/phrase.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function nounPhrase(
7272
if (prepositions.length > 1) {
7373
throw new FilteredError("multiple preposition within noun phrase");
7474
}
75+
// TODO: do this on `fixer.ts` instead
7576
if (prepositions.length > 0 && postAdjective != null) {
7677
throw new FilteredError("named noun with preposition");
7778
}

0 commit comments

Comments
 (0)