mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-11 23:19:30 +00:00
reflect: add converting complex
This commit is contained in:
committed by
Damian Gryski
parent
a93640662e
commit
d29e8e5f22
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user