reflect: add converting complex

This commit is contained in:
Damian Gryski
2026-05-25 11:14:02 -07:00
committed by Damian Gryski
parent a93640662e
commit d29e8e5f22
2 changed files with 33 additions and 8 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ func (t *rawType) CanSeq2() bool {
}
func (t *rawType) ConvertibleTo(u Type) bool {
return t.RawType.Convertibleto(u.(*rawType).RawType)
return t.RawType.ConvertibleTo(&(u.(*rawType).RawType))
}
func (t *rawType) Elem() Type {