1
This commit is contained in:
parent
d82df9df79
commit
607a4887d0
@ -1,6 +1,7 @@
|
||||
package q5
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"net/url"
|
||||
"encoding/json"
|
||||
)
|
||||
@ -223,7 +224,7 @@ func (this *XObject) fromInterface(iVal interface{}) *XObject {
|
||||
this._type = XOT_SIMPLE
|
||||
this._val = NewXUndefined()
|
||||
if !this.AsXValue().TryFromInterface(iVal) {
|
||||
panic("XObject.fromInterface type error2")
|
||||
panic("XObject.fromInterface type error2 type" + reflect.TypeOf(iVal).String())
|
||||
}
|
||||
}
|
||||
return this
|
||||
|
Loading…
x
Reference in New Issue
Block a user