blob: e7839a42b90af4aa857cf417853c328b7eb703da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
vlib/v/checker/tests/invalid_property.vv:2:7: error: `string` has no property `length`
1 | s :=''
2 | _ = s.length
| ~~~~~~
3 | _ = [1,2].foo
4 |
vlib/v/checker/tests/invalid_property.vv:3:11: error: `[]int` has no property `foo`
1 | s :=''
2 | _ = s.length
3 | _ = [1,2].foo
| ~~~
4 |
5 | mut fa := [3,4]!
vlib/v/checker/tests/invalid_property.vv:6:8: error: `[2]int` has no property `bar`
4 |
5 | mut fa := [3,4]!
6 | _ = fa.bar
| ~~~
|