Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
v4
/
vlib
/
v
/
checker
/
tests
/
interface_implementing_interface.out
6
lines
·
6
sloc
·
277 bytes
·
4aee9976899acdc91115c1bf4f49abfa301a5e9b
Raw
1
vlib/v/checker/tests/interface_implementing_interface.vv:15:10: error: cannot implement interface `Thing` with a different interface `Animal`
2
13 | dog := Dog{}
3
14 | animal := Animal(dog)
4
15 | thing := Thing(animal)
5
| ~~~~~~~~~~~~~
6
16 | println(thing)