19 lines
528 B
Plaintext
19 lines
528 B
Plaintext
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
|
|
| ~~~
|