vxx2 / vlib / v / checker / tests / option_array_push.out
7 lines · 7 sloc · 256 bytes · 86536e452e6248056666c750668334c7da87202e
Raw
1vlib/v/checker/tests/option_array_push.vv:13:5: error: cannot push to Option array that was not unwrapped first
2 11 | fn my_func(args Struct2) {
3 12 | mut s1 := args.Struct1
4 13 | s1.strings << ['hi']
5 | ~~~~~~~
6 14 | }
7 15 |
8