visitThenExpr method
Implementation
@override
void visitThenExpr(Expr.Then expr) {
resolveExpr(expr.future);
if (expr.then is Stmt.Functional) {
resolveFunction(expr.then as Stmt.Functional, FunctionType.FUNCTION);
} else {
resolveExpr(expr.then);
}
return;
}