update to golang.org/x/net/html (slow parsing fixed) and other golang.org/x deps

This commit is contained in:
Mechiel Lukkien
2024-12-21 09:44:11 +01:00
parent d082aaada8
commit aa9a06680f
107 changed files with 4510 additions and 1055 deletions

View File

@ -28,7 +28,7 @@ import (
func NewAlias(enabled bool, pos token.Pos, pkg *types.Package, name string, rhs types.Type, tparams []*types.TypeParam) *types.TypeName {
if enabled {
tname := types.NewTypeName(pos, pkg, name, nil)
newAlias(tname, rhs, tparams)
SetTypeParams(types.NewAlias(tname, rhs), tparams)
return tname
}
if len(tparams) > 0 {