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
The code compiles without killing the compiler and exits with status-code 0.
What did you see instead?
With a release version of go 1.19:
% go build .
# foo.spin-2.net/fizzle
./main.go:25:9: internal compiler error: method less on string not found
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
What version of Go are you using (
go version
)?Also with the tip of the go
master
branch withGOEXPERIMENT=nounified
Does this issue reproduce with the latest release?
Yep, go 1.19 fails unified IR was enabled by default on 2022/08/18 (https://go.dev/cl/422235).
Bisected the compile failure to http://go.dev/cl/385274 (which looks like it might have uncovered an existing bug more than introduced it)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wrote a few interdependent generic types and called a method on one of them from a generic function.
https://go.dev/play/p/FMw2FMd091n
example code
What did you expect to see?
The code compiles without killing the compiler and exits with status-code 0.
What did you see instead?
With a release version of go 1.19:
With
gotip
built from(feel free to retitle, I haven't spent enough time digging into the noder implementation to understand the source of the bug)
The text was updated successfully, but these errors were encountered: