v/vlib/v/fmt/tests/if_brace_on_newline_input.vv

11 lines
234 B
V

fn get_typ() Type {
{
{
// The opening brace should be put on a new line here for readability
if typ := c.resolve_generic_type(method.return_type, method.generic_names, call_expr.generic_types) {
return typ
}
}
}
}