v2 / vlib / v / parser / tests / select_bad_key_1.out
14 lines · 14 sloc · 544 bytes · 1e5627e777b8adb2045e8c283f4794aed2c0e19a
Raw
1vlib/v/parser/tests/select_bad_key_1.vv:19:3: notice: `>` is deprecated and will soon be forbidden - just state the timeout in nanoseconds
2 17 | a++
3 18 | }
4 19 | > 50 * time.millisecond {
5 | ^
6 20 | println('timeout')
7 21 | }
8vlib/v/parser/tests/select_bad_key_1.vv:39:8: error: select key: receive expression expected
9 37 | fn f3_bad(ch1 chan St) {
10 38 | select {
11 39 | b := 17 {
12 | ~~
13 40 | println(b)
14 41 | }
15