cmd/compile: some case can be inlined before unified ir(go1.19-), but can't be inilned after unified ir(go1.20+) #63687
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go build -gcflags="-m"
What did you expect to see?
./main.go:5:6: can inline main ./main.go:6:11: inlining call to a.(*A).Print
What did you see instead?
The text was updated successfully, but these errors were encountered: