Also clear it before processing a variable initializer, just in case.
throw internal_error("function call in constant expression");
Id result_type_id = get_id(*call.type);
+ r_constant_result = false;
if(call.constructor)
visit_constructor(call, argument_ids, all_args_const);
{
SetFlag set_const(constant_expression, !current_function);
r_expression_result_id = 0;
+ r_constant_result = false;
var.init_expression->visit(*this);
init_id = r_expression_result_id;
}