Fix invalid variables

This commit is contained in:
toasted-nutbread 2019-12-28 22:55:29 -05:00
parent dccc60562a
commit 0b1bee8c00

View File

@ -188,7 +188,7 @@ class Translator {
const strayDefinitions = defaultDefinitions.filter((definition, index) => !mergedByTermIndices.has(index));
for (const groupedDefinition of dictTermsGroup(strayDefinitions, dictionaries)) {
groupedDefinition.expressions = [Translator.createExpression(expression, reading)];
groupedDefinition.expressions = [Translator.createExpression(groupedDefinition.expression, groupedDefinition.reading)];
definitionsMerged.push(groupedDefinition);
}