I think if Golang would have been invented a couple of years later it def would have had sum types. But then, Rust probably wouldn’t have had its insane tooling that is most likely inspired by golang
Pike slapped his Newsqueak's CSP paradigm on top and the rest is history.
How to combine sum types and a precise garbage collector?