use of dyvilx.tools.compiler.ast.expression.optional.OptionalUnwrapOperator in project Dyvil by Dyvil.
the class BindingIfStatement method resolveConditionTypes.
@Override
protected void resolveConditionTypes(MarkerList markers, IContext context) {
final int size = this.variables.size();
for (int i = 0; i < size; i++) {
final IVariable var = this.variables.get(i);
var.setValue(new OptionalUnwrapOperator(var.getValue(), true));
var.resolveTypes(markers, this.varContext(i, context));
}
super.resolveConditionTypes(markers, this.varContext(size, context));
}
Aggregations