On Sunday, July 19, 2020 at 1:44:49 PM UTC-4, Steven Blenkinsop wrote: > > On Sun, Jul 19, 2020 at 11:43 AM, Jake Montgomery <jake...@gmail.com > <javascript:>> wrote: > >> This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ >> >> >> I'm confused. It panics when I run it now. >> > > Since the outcome is probably cached, I'm not sure how that could be the > case. Did you mean to respond to Ian's modified version? >
They must have been working on the go2 playground. I'm sure it was your link, ending in Z, and it complained about MyInt and panicked: panic: I don't know about type main.MyInt! But now it works fine. -- 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/80cb0202-a77d-4a6c-adcc-203aa49c9254o%40googlegroups.com.