H.oE -> H.instanceOrFunctionType

This commit is contained in:
shenjack 2024-04-04 23:55:31 +08:00
parent 1860f9b379
commit 72670be9b9
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1991,7 +1991,7 @@ var A = {
} }
return null return null
}, },
oE(a, b) { instanceOrFunctionType(a, b) {
var s var s
if (H.Rti__isUnionOfFunctionType(b)) if (H.Rti__isUnionOfFunctionType(b))
if (a instanceof H.c_) { if (a instanceof H.c_) {
@ -2126,7 +2126,7 @@ var A = {
uh(a) { uh(a) {
var s = this var s = this
if (a == null) return H.ln(s) if (a == null) return H.ln(s)
return H._isSubtype(init.typeUniverse, H.oE(a, s), null, s, null) return H._isSubtype(init.typeUniverse, H.instanceOrFunctionType(a, s), null, s, null)
}, },
uj(a) { uj(a) {
if (a == null) return true if (a == null) return true
@ -2163,7 +2163,7 @@ var A = {
H.oo(a, s) H.oo(a, s)
}, },
oo(a, b) { oo(a, b) {
throw H.wrap_expression(H.u_(H.ob(a, H.oE(a, b), H.aH(b, null)))) throw H.wrap_expression(H.u_(H.ob(a, H.instanceOrFunctionType(a, b), H.aH(b, null))))
}, },
ob(a, b, c) { ob(a, b, c) {
var s = P.jh(a), var s = P.jh(a),