| 1 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:8:14: error: `int` doesn't implement method `msg` of interface `IError` |
| 2 | 6 | if _ := f() { |
| 3 | 7 | } else { |
| 4 | 8 | _ = err is int |
| 5 | | ~~~ |
| 6 | 9 | } |
| 7 | 10 | |
| 8 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:8:14: error: `int` doesn't implement method `code` of interface `IError` |
| 9 | 6 | if _ := f() { |
| 10 | 7 | } else { |
| 11 | 8 | _ = err is int |
| 12 | | ~~~ |
| 13 | 9 | } |
| 14 | 10 | |
| 15 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:8:14: error: `int` doesn't implement interface `IError` |
| 16 | 6 | if _ := f() { |
| 17 | 7 | } else { |
| 18 | 8 | _ = err is int |
| 19 | | ~~~ |
| 20 | 9 | } |
| 21 | 10 | |
| 22 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:12:14: error: `int` doesn't implement method `msg` of interface `IError` |
| 23 | 10 | |
| 24 | 11 | _ = f() or { |
| 25 | 12 | _ = err is int |
| 26 | | ~~~ |
| 27 | 13 | 0 |
| 28 | 14 | } |
| 29 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:12:14: error: `int` doesn't implement method `code` of interface `IError` |
| 30 | 10 | |
| 31 | 11 | _ = f() or { |
| 32 | 12 | _ = err is int |
| 33 | | ~~~ |
| 34 | 13 | 0 |
| 35 | 14 | } |
| 36 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:12:14: error: `int` doesn't implement interface `IError` |
| 37 | 10 | |
| 38 | 11 | _ = f() or { |
| 39 | 12 | _ = err is int |
| 40 | | ~~~ |
| 41 | 13 | 0 |
| 42 | 14 | } |
| 43 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:27:17: error: `int` doesn't implement method `some_method` of interface `IAbc` |
| 44 | 25 | fn type_unimplemented_interface() { |
| 45 | 26 | ivalue := IAbc(Struct{}) |
| 46 | 27 | _ := ivalue is int |
| 47 | | ~~~ |
| 48 | 28 | } |
| 49 | vlib/v/checker/tests/infix_is_notis_interface_unimplemented_err.vv:27:17: error: `int` doesn't implement interface `IAbc` |
| 50 | 25 | fn type_unimplemented_interface() { |
| 51 | 26 | ivalue := IAbc(Struct{}) |
| 52 | 27 | _ := ivalue is int |
| 53 | | ~~~ |
| 54 | 28 | } |
| 55 | |