H.ui -> H._generalNullableAsCheckImplementation

This commit is contained in:
shenjack 2024-04-20 16:32:15 +08:00
parent 3253d254f8
commit 70800c71d3
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -2095,24 +2095,21 @@ var A = {
if (!H.isStrongTopType(this_)) { if (!H.isStrongTopType(this_)) {
if (!(this_ === t.c)) { if (!(this_ === t.c)) {
s = this_ === t.K s = this_ === t.K
logger.debug("进入 H.uk")
} else { } else {
s = true s = true
} }
} else { } else {
s = true s = true
} }
logger.debug("进入 H.uk")
if (s) { if (s) {
r = H.ue r = H.ue
} else { } else {
if (this_ === t.K) { if (this_ === t.K) {
r = H.ud r = H.ud
} else { } else {
r = H.ui r = H._generalNullableAsCheckImplementation
} }
} }
logger.debug("进入 H.uk")
this_.a = r this_.a = r
// logger.debug("进入 H.uk", r, r(a)) // logger.debug("进入 H.uk", r, r(a))
return this_.a(a) return this_.a(a)
@ -2160,12 +2157,13 @@ var A = {
else if (s.b(a)) return a else if (s.b(a)) return a
H.oo(a, s) H.oo(a, s)
}, },
ui(a) { _generalNullableAsCheckImplementation(a) {
var s = this var s = this
if (a == null) return a if (a == null) return a
// set run time info // set run time info
else if (s.b(a)) return a else if (s.b(a)) return a
logger.debug("faild nullable as check", a) logger.debug("faild nullable as check", a)
console.log("faild nullable as check", a)
H.oo(a, s) H.oo(a, s)
}, },
oo(a, b) { oo(a, b) {
@ -9879,14 +9877,14 @@ P._Future.prototype = {
} }
}, },
d3(a) { d3(a) {
var s, r, q, p, o, n = this, var s, r, q, p, o, this_ = this,
m = {} m = {}
m.a = a m.a = a
if (a == null) return if (a == null) return
s = n.a s = this_.a
if (s <= 3) { if (s <= 3) {
r = n.c r = this_.c
n.c = a this_.c = a
if (r != null) { if (r != null) {
q = a.a q = a.a
for (p = a; q != null; p = q, q = o) o = q.a for (p = a; q != null; p = q, q = o) o = q.a
@ -9894,15 +9892,15 @@ P._Future.prototype = {
} }
} else { } else {
if ((s & 4) !== 0) { if ((s & 4) !== 0) {
s = n.c s = this_.c
if ((s.a & 24) === 0) { if ((s.a & 24) === 0) {
s.d3(a) s.d3(a)
return return
} }
n.c1(s) this_.c1(s)
} }
m.a = n.bJ(a) m.a = this_.bJ(a)
P.cS(null, null, n.b, new P.kO(m, n)) P.cS(null, null, this_.b, new P.kO(m, this_))
} }
}, },
bI() { bI() {
@ -9911,22 +9909,22 @@ P._Future.prototype = {
return this.bJ(s) return this.bJ(s)
}, },
bJ(a) { bJ(a) {
var s, r, q var current, prev, next
for (s = a, r = null; s != null; r = s, s = q) { for (current = a, prev = null; current != null; prev = current, current = next) {
q = s.a next = current.a
s.a = r current.a = prev
} }
return r return prev
}, },
cV(a) { cV(a) {
var s, r, q, p = this var s, r, q, this_ = this
p.a ^= 2 this_.a ^= 2
try { try {
a.cz(new P.kK(p), new P.kL(p), t.P) a.cz(new P.kK(this_), new P.kL(this_), t.P)
} catch (q) { } catch (q) {
s = H.unwrap_Exception(q) s = H.unwrap_Exception(q)
r = H.getTraceFromException(q) r = H.getTraceFromException(q)
P.scheduleMicrotask(new P.kM(p, s, r)) P.scheduleMicrotask(new P.kM(this_, s, r))
} }
}, },
// 动画帧调用? // 动画帧调用?
@ -9961,15 +9959,15 @@ P._Future.prototype = {
P.cS(null, null, this.b, new P.kJ(this, a)) P.cS(null, null, this.b, new P.kJ(this, a))
}, },
cW(a) { cW(a) {
var s = this var this_ = this
if (s.$ti.b(a)) { if (this_.$ti.b(a)) {
if ((a.a & 16) !== 0) { if ((a.a & 16) !== 0) {
s.a ^= 2 this_.a ^= 2
P.cS(null, null, s.b, new P.kN(s, a)) P.cS(null, null, this_.b, new P.kN(this_, a))
} else P._Future__chainCoreFuture(a, s) } else P._Future__chainCoreFuture(a, this_)
return return
} }
s.cV(a) this_._chainForeignFuture(a)
}, },
cT(a, b) { cT(a, b) {
this.a ^= 2 this.a ^= 2