Why you'd try to write a compiler in a language that deliberately cripples sum types (Go) is beyond me.
Why you'd try to write a compiler in a language that deliberately cripples sum types (Go) is beyond me.