| 1 | vlib/v/checker/tests/option_fields_addr_err.vv:9:10: error: cannot take the address of an Option field |
| 2 | 7 | fn main() { |
| 3 | 8 | x := Wrapper{} |
| 4 | 9 | if _ := &x.value { |
| 5 | | ~~~~~~~~ |
| 6 | 10 | } |
| 7 | 11 | |
| 8 | vlib/v/checker/tests/option_fields_addr_err.vv:12:7: error: cannot take the address of an Option field |
| 9 | 10 | } |
| 10 | 11 | |
| 11 | 12 | _ := &x.value |
| 12 | | ~~~~~~~~ |
| 13 | 13 | } |
| 14 |