ci: fix tests output files after 7f5c3cc
parent
bb4f0ed4a9
commit
44902b5aba
|
@ -12,10 +12,3 @@ vlib/v/checker/tests/chan_ref.vv:12:8: error: cannot push non-reference `St` on
|
||||||
| ^
|
| ^
|
||||||
13 | // the following works
|
13 | // the following works
|
||||||
14 | y := &St{}
|
14 | y := &St{}
|
||||||
vlib/v/checker/tests/chan_ref.vv:28:11: error: cannot have a mutable reference to object from `chan &St`
|
|
||||||
26 | y := <-c
|
|
||||||
27 | // this should fail
|
|
||||||
28 | mut z := <-c
|
|
||||||
| ~~
|
|
||||||
29 | z.n = 9
|
|
||||||
30 | sem.post()
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
g.v:9:6: warning: unused variable: `unused_var`
|
vlib/v/checker/tests/modify_const_with_ref.vv:11:11: error: `constant` is immutable, cannot have a mutable reference to it
|
||||||
7 |
|
|
||||||
8 | fn main() {
|
|
||||||
9 | mut unused_var := Foo{}
|
|
||||||
| ~~~~~~~~~~
|
|
||||||
10 | unused_var = Foo{}
|
|
||||||
11 | mut c := &constant
|
|
||||||
g.v:11:14: error: `constant` is immutable, cannot have a mutable reference to it
|
|
||||||
9 | mut unused_var := Foo{}
|
9 | mut unused_var := Foo{}
|
||||||
10 | unused_var = Foo{}
|
10 | unused_var = Foo{}
|
||||||
11 | mut c := &constant
|
11 | mut c := &constant
|
||||||
| ^
|
| ^
|
||||||
12 | c.value = 200
|
12 | c.value = 200
|
||||||
13 | }
|
13 | }
|
||||||
|
vlib/v/checker/tests/modify_const_with_ref.vv:9:6: error: unused variable: `unused_var`
|
||||||
|
7 |
|
||||||
|
8 | fn main() {
|
||||||
|
9 | mut unused_var := Foo{}
|
||||||
|
| ~~~~~~~~~~
|
||||||
|
10 | unused_var = Foo{}
|
||||||
|
11 | mut c := &constant
|
||||||
|
|
Loading…
Reference in New Issue