v2 / vlib / v / checker / tests / wrong_option_unwrap_err.vv
5 lines · 5 sloc · 65 bytes · e253256c304b032a9dbc04867d40707ea6e34b8b
Raw
1fn main() {
2 a := ?string('c')
3 b := a or { none }
4 println(b)
5}
6