mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
283 B
Plaintext
6 lines
283 B
Plaintext
vlib/v/checker/tests/unimplemented_interface_i.vv:11:13: error: `Cat` incorrectly implements field `name` of interface `Animal`, expected `string`, got `int`
|
|
9 | fn main() {
|
|
10 | mut animals := []Animal{}
|
|
11 | animals << Cat{}
|
|
| ~~~~~
|
|
12 | } |