Plus there is an explicit assignability rule for interface types: * T is an interface type and x implements <https://golang.org/ref/spec#Interface_types> T.
I don't see why any of this implies that error is not a "defined type". -- 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/5cff7dfa-83e2-4e66-a025-df54ad06c4b8%40googlegroups.com.