v2 / vlib / v / checker / tests / go_append_option_to_threads_err.out
7 lines · 7 sloc · 256 bytes · 90941b3b1f5513cef7f913bc54f1b5a2af0c8c7a
Raw
1vlib/v/checker/tests/go_append_option_to_threads_err.vv:5:15: error: cannot append `thread !` to `[]thread`
2 3 | fn main() {
3 4 | mut ths := []thread{}
4 5 | ths << spawn foo()
5 | ~~~~~
6 6 | ths.wait()
7 7 | }