use of org.eclipse.xtext.xbase.typesystem.references.FunctionTypeReference in project xtext-xtend by eclipse.
the class ExtensionAwareClosureTypeComputer method createClosureWithoutExpectationHelper.
@Override
protected ClosureWithoutExpectationHelper createClosureWithoutExpectationHelper() {
return new ClosureWithoutExpectationHelper(getClosure(), getExpectation(), getState()) {
@Override
protected ITypeComputationState assignParameters(ITypeAssigner typeAssigner, FunctionTypeReference incompleteClosureType) {
ITypeComputationState result = super.assignParameters(typeAssigner, incompleteClosureType);
addExtensions(result);
return result;
}
};
}
Aggregations