cmd/gc: suspend safemode during typecheck of inlined bodies.
Should be obviously correct. Includes minimal test case. A future CL should clear up the logic around typecheckok and importpkg != nil someday. R=rsc, dsymonds, rsc CC=golang-dev https://golang.org/cl/5652057
Showing
test/safe/main.go
0 → 100644
test/safe/nousesafe.go
0 → 100644
test/safe/pkg.go
0 → 100644
test/safe/usesafe.go
0 → 100644
Please register or sign in to comment