vxx2 / vlib / v / checker / tests / struct_field_private_err.out
19 lines · 19 sloc · 588 bytes · ab5f06f36dfb9e0dbb2ab11391054643d0a849a3
Raw
1vlib/v/checker/tests/struct_field_private_err.vv:8:2: error: cannot access private field `x` on `amod.Bcg`
2 6 |
3 7 | _ := amod.Bcg{
4 8 | x: 0
5 | ~~~~
6 9 | }
7 10 |
8vlib/v/checker/tests/struct_field_private_err.vv:12:2: error: cannot access private field `x` on `amod.Bcg2[int]`
9 10 |
10 11 | _ := amod.Bcg2[int]{
11 12 | x: 0
12 | ~~~~
13 13 | }
14 14 |
15vlib/v/checker/tests/struct_field_private_err.vv:15:10: error: cannot access private field `bar` on `amod.FooParams`
16 13 | }
17 14 |
18 15 | amod.foo(bar: 'bar')
19 | ~~~~~~~~~~
20