vxx2 / vlib / v / checker / tests / ptr_slice.out
14 lines · 14 sloc · 475 bytes · 173e6a943b43c332c1ead547e165b55ad4b74622
Raw
1vlib/v/checker/tests/ptr_slice.vv:9:14: error: type `&Foo` does not support slicing
2 7 |
3 8 | fn main() {
4 9 | fs := jeje()[1..]
5 | ~~~~~
6 10 | println(fs)
7 11 | vs := byteptr(0)[..3]
8vlib/v/checker/tests/ptr_slice.vv:11:18: error: type `byteptr` does not support slicing
9 9 | fs := jeje()[1..]
10 10 | println(fs)
11 11 | vs := byteptr(0)[..3]
12 | ~~~~~
13 12 | println(vs)
14 13 | }
15