v/vlib/v/checker/tests/fn_arg_of_optional_err.vv

8 lines
85 B
V

fn optional_arg(x ?int) {
println('int type: $x')
}
fn main() {
optional_arg(1)
}