On Thu, Aug 20, 2020 at 10:53 PM Kurtis Rader <kra...@skepticism.us> wrote:

> Isn't your example just a case of confusing a nil interface with a nil
> value inside a generic interface? How does requiring writing it as `func
> f() interface{} {` make the behavior any clearer?
>

And the, possibly canonical, discussion about this:
https://groups.google.com/g/golang-nuts/c/wnH302gBa4I/discussion

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD9he0bm1X%3DXX1mPii-GH_f1Ua80VrFZiq3hjM1LSSj4dA%40mail.gmail.com.

Reply via email to