What version of Go are you using (go version)?
$ go version
go version go1.14 linux/amd64
Does this issue reproduce with the latest release?
N/A 1.14 is the latest release
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
What did you do?
go build -gcflags="-m -m" demo.go
demo.go.txt
What did you expect to see?
Inlining of small function after #13071
What did you see instead?
./demo.go:15:6: cannot inline SomeFunc: unhandled op TYPESW
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
N/A 1.14 is the latest release
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
go build -gcflags="-m -m" demo.go
demo.go.txt
What did you expect to see?
Inlining of small function after #13071
What did you see instead?
./demo.go:15:6: cannot inline SomeFunc: unhandled op TYPESW