Quite the hot take on Golang LOL. These were logic and flow errors that could have emerged with any language. These bugs were teased out with deep introspection.
The second paragraph seems more like design issues than a language issue. That said, I’d certainly rather write a parser in Golang than JavaScript, especially once one brings up type safety.