I just discovered the hard way (where hard == a few hours of debugging) 
that, beginning in Go 1.25, "any" type-checks (in the 
"go/types".Config.Check <https://pkg.go.dev/go/types#Config.Check> sense) 
as a *types.Alias <https://pkg.go.dev/go/types#Alias>. Previously it 
type-checked as a *types.Interface <https://pkg.go.dev/go/types#Interface>. 
This caused a test breakage when updating Modver 
<https://github.com/bobg/modver#readme>, which I have fixed here 
<https://github.com/bobg/modver/pull/35>.

Not sure whether this rises to the level of a bug report. It is at least a 
public-service announcement.

Cheers,
- Bob

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/2353cd93-b915-4cee-aff5-ff931213a8fdn%40googlegroups.com.

Reply via email to