15 lines
475 B
Plaintext
15 lines
475 B
Plaintext
|
vlib/v/checker/tests/ptr_slice.vv:9:17: error: type `&Foo` does not support slicing
|
||
|
7 |
|
||
|
8 | fn main() {
|
||
|
9 | fs := jeje()[1..]
|
||
|
| ~~~~~
|
||
|
10 | println(fs)
|
||
|
11 | vs := byteptr(0)[..3]
|
||
|
vlib/v/checker/tests/ptr_slice.vv:11:21: error: type `byteptr` does not support slicing
|
||
|
9 | fs := jeje()[1..]
|
||
|
10 | println(fs)
|
||
|
11 | vs := byteptr(0)[..3]
|
||
|
| ~~~~~
|
||
|
12 | println(vs)
|
||
|
13 | }
|