diff --git a/doc/go1.12.html b/doc/go1.12.html index dddf44b520..c34b473a39 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -232,6 +232,23 @@ for {

+

+ Wrappers generated by the compiler to implement method expressions + are no longer reported + by runtime.CallersFrames + and runtime.Stack. They + are also not printed in panic stack traces. + + This change aligns the gc toolchain to match + the gccgo toolchain, which already elided such wrappers + from stack traces. + + Clients of these APIs might need to adjust for the missing + frames. For code that must interoperate between 1.11 and 1.12 + releases, you can replace the method expression x.M + with the function literal func (...) { x.M(...) } . +

+

The compiler now accepts a -lang flag to set the Go language version to use. For example, -lang=go1.8 causes the compiler to