| 1 | vlib/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] |
| 8 | vlib/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 |