Sign in
go
/
tools
/
8c3ba8c1039ec857f115ba4d20e9e271979fae43
/
.
/
gopls
/
internal
/
test
/
marker
/
testdata
/
diagnostics
/
issue60544.txt
blob: 6b8d6ce0ad284aa104f4e91db36c7d6d071ada7e [
file
] [
log
] [
blame
]
This test exercises a crash due to treatment of "comparable" in methodset
calculation (golang/go#60544).
-- main.go --
package main
type X struct{}
func (X) test(x comparable) {} //@diag("comparable", re"outside a type constraint")