You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows the global initializers function to go through normal
mid-end optimizations (e.g., inlining, escape analysis) like any other
function.
Updates #33485.
Change-Id: I9bcfe98b8628d1aca09b4c238d8d3b74c69010a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/254839
Reviewed-by: Keith Randall <[email protected]>
Trust: Matthew Dempsky <[email protected]>
varsomethingWrongerror=errors.New("something went wrong")
53
+
varsomethingWrongerror=errors.New("something went wrong")// ERROR "can inline init" "inlining call to errors.New" "errors.errorString.* escapes to heap"
0 commit comments