Skip to content

Commit

Permalink
Small fix for measure expressions, see #15
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Dec 22, 2019
1 parent af5a48c commit f5a67a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1814,9 +1814,9 @@ private void setMeasureExp(TypeCheckInfo question, SFunctionDefinitionBase node,
def.setClassDefinition(node.getClassDefinition() == null ? null : node.getClassDefinition().clone());
def.setAccess(node.getAccess().clone());
question.assistantFactory.createPDefinitionAssistant().typeResolve(def, THIS, question);
def.apply(THIS, question);


node.setMeasureDef(def);
def.apply(THIS, question);
}

/**
Expand Down

0 comments on commit f5a67a6

Please sign in to comment.