cmd/gc: fix export of inlined function body with type guard
When exporting a body containing x, ok := v.(Type) the definition for Type was not being included, so when the body was actually used, it would cause an "unknown type" compiler error. Fixes #4370. R=ken2 CC=golang-dev https://golang.org/cl/6827064
Showing
test/fixedbugs/issue4370.go
0 → 100644
Please register or sign in to comment