We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ gotip version go version devel go1.18-58fb05a24a Tue Nov 2 16:19:52 2021 +0000 linux/amd64
package p func f[T interface{[]int}]() { _ = T(1) }
$ gotip tool compile test.go panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xb6f288] goroutine 1 [running]: cmd/compile/internal/types2.(*Checker).handleBailout(0xc000404c60, 0xc000117648) /home/alberto/go/src/cmd/compile/internal/types2/check.go:271 +0x8b panic({0xc955a0, 0x12ecd50}) /home/alberto/go/src/runtime/panic.go:838 +0x207 cmd/compile/internal/types2.is({0xe79c10?, 0x0?}, 0x2) /home/alberto/go/src/cmd/compile/internal/types2/predicates.go:31 +0x48 cmd/compile/internal/types2.isInteger(...) ....
cc @griesemer
The text was updated successfully, but these errors were encountered:
Minor oversight. Fix forthcoming.
Sorry, something went wrong.
Change https://golang.org/cl/360796 mentions this issue: comd/compile/internal/types2: add missing nil check in const conversion
comd/compile/internal/types2: add missing nil check in const conversion
7548327
No branches or pull requests
cc @griesemer
The text was updated successfully, but these errors were encountered: