Re:Proposal: Go should have generics
by JanKanis on Monday April 18, 2016 @08:20AM
(#11519301)
I don't think you're right that interfaces are implemented as a pointer to a struct. The struct is inline like any other struct, and it contains a pointer to a type and a pointer to the value, like `([*Baz], nil)` in your example. The problem is that a nil interface in Go is compiled to `(nil, nil)` which is different.
That still makes this inexcusable of course.