mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix vlib/v/checker/tests/nil.vv and its .out file
This commit is contained in:
parent
474033c055
commit
5340f8afea
@ -1,7 +1,6 @@
|
||||
vlib/v/checker/tests/nil.vv:3:18: error: use of untyped nil in assignment (use `unsafe`)
|
||||
vlib/v/checker/tests/nil.vv:2:11: error: `nil` is only allowed in `unsafe` code
|
||||
1 | fn main() {
|
||||
2 | unsafe {
|
||||
3 | value := nil
|
||||
2 | value := nil
|
||||
| ~~~
|
||||
4 | println(value)
|
||||
5 | }
|
||||
3 | println(value)
|
||||
4 | }
|
||||
|
@ -1,6 +1,4 @@
|
||||
fn main() {
|
||||
unsafe {
|
||||
value := nil
|
||||
println(value)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user