Re:Is Go Duck-Typed?
by apta on Wednesday March 04, 2020 @05:29PM
(#22488857)
It has already caused several issues in golang, and this is an example: https://github.com/golang/go/issues/16474
[ Parent
| on HN ]
That’s a different issue. This is not just using structural interfaces but downcasting to even lower interfaces without warning. That is, the method lies about what it’s looking for.