v/vlib/v/checker/tests/if_expr_optional_err.vv

11 lines
104 B
V

fn get_bool() ?bool {
return true
}
fn main() {
if get_bool() {
println("Using plain lists")
}
}