Fix test failures
Add bool type alias conversion in `elemKindToPointerTypes` and `underlyingNumberType`
This commit is contained in:
committed by
Jack Christensen
parent
c1c67e4e58
commit
70a200cff4
@@ -64,6 +64,9 @@ func underlyingNumberType(val any) (any, bool) {
|
||||
case reflect.String:
|
||||
convVal := refVal.String()
|
||||
return convVal, reflect.TypeOf(convVal) != refVal.Type()
|
||||
case reflect.Bool:
|
||||
convVal := refVal.Bool()
|
||||
return convVal, reflect.TypeOf(convVal) != refVal.Type()
|
||||
}
|
||||
|
||||
return nil, false
|
||||
|
||||
Reference in New Issue
Block a user