Skip to content

Commit a4a63e6

Browse files
committed
exhaust all errors
1 parent aed9d52 commit a4a63e6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/dictionary/parallel_parser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export async function parseDictionary(source: string): Promise<Dictionary> {
9393
for (const [word, definition] of entries.entries()) {
9494
if (dictionary.has(word)) {
9595
errors.push(new ResultError(`duplicate Toki Pona word "${word}"`));
96-
break;
9796
} else {
9897
dictionary.set(word, definition);
9998
}

0 commit comments

Comments
 (0)