https://golang.org/doc/go1.12#compiler requires changes to the way the stack is analysed. See https://github.com/pkg/errors/blob/ba968bfe8b2f7e042a574c888954fccecfa385b4/stack.go#L136 in v0.8.1 for example.