| 1 | vlib/v/checker/tests/option_array_arg_err.vv:6:12: error: cannot use `?[]u8` as `[]u8`, it must be unwrapped first in argument 1 to `use_bytes` |
| 2 | 4 | |
| 3 | 5 | fn main() { |
| 4 | 6 | use_bytes(?[]u8(none)) |
| 5 | | ~~~~~~~~~~~ |
| 6 | 7 | maybe := ?[]u8(none) |
| 7 | 8 | use_bytes(maybe) |
| 8 | vlib/v/checker/tests/option_array_arg_err.vv:8:12: error: cannot use `?[]u8` as `[]u8`, it must be unwrapped first in argument 1 to `use_bytes` |
| 9 | 6 | use_bytes(?[]u8(none)) |
| 10 | 7 | maybe := ?[]u8(none) |
| 11 | 8 | use_bytes(maybe) |
| 12 | | ~~~~~ |
| 13 | 9 | } |
| 14 | |