Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
vxx2
/
vlib
/
v
/
checker
/
tests
/
unimplemented_interface_g.out
7
lines
·
7
sloc
·
302 bytes
·
86dfd3902fa851455e98b176a0abf5ff9dc6ab28
Raw
1
vlib/v/checker/tests/unimplemented_interface_g.vv:12:13: error: `Cat` incorrectly implements method `speak` of interface `Animal`, expected `speak(s string)`
2
10 | mut animals := []Animal{}
3
11 | mut cats := []Cat{}
4
12 | animals << cats
5
| ~~~~
6
13 | }
7
14 |
8