File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
vlib/v/checker/tests/with_check_option Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,29 @@ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:31: error: expected `ini
5
5
| ~~~
6
6
5 | for i in 0..9 {
7
7
6 | board[i / 3][i % 3] = (i + 1).str()
8
+ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:36: error: expression evaluated but not used
9
+ 2 |
10
+ 3 | fn new_board() [][]string {
11
+ 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } }
12
+ | ^
13
+ 5 | for i in 0..9 {
14
+ 6 | board[i / 3][i % 3] = (i + 1).str()
15
+ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:45: error: expression evaluated but not used
16
+ 2 |
17
+ 3 | fn new_board() [][]string {
18
+ 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } }
19
+ | ~~~~~~~~~
20
+ 5 | for i in 0..9 {
21
+ 6 | board[i / 3][i % 3] = (i + 1).str()
22
+ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:1:1: error: unknown type
23
+ 1 | module main
24
+ | ^
25
+ 2 |
26
+ 3 | fn new_board() [][]string {
27
+ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:6:14: error: unknown type for expression `board`
28
+ 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } }
29
+ 5 | for i in 0..9 {
30
+ 6 | board[i / 3][i % 3] = (i + 1).str()
31
+ | ~~~~~~~
32
+ 7 | }
33
+ 8 | return board
You can’t perform that action at this time.
0 commit comments