You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instanceof: goes through class_chain_reaches, whose ~20 callers all walk the declared parent chain (get_parent_class_id). It should walk the instance's live [[Prototype]] chain when a class prototype on the way was relinked.
typeof super.m / super property reads: resolved at compile time. A guarded runtime fallback needs the home class id, which no existing runtime entry point takes.
These are still wrong after #11764 (which fixes member reads,
in, calls andsuper.m()afterObject.setPrototypeOf(C.prototype, X)):instanceof: goes throughclass_chain_reaches, whose ~20 callers all walk the declared parent chain (get_parent_class_id). It should walk the instance's live [[Prototype]] chain when a class prototype on the way was relinked.typeof super.m/ super property reads: resolved at compile time. A guarded runtime fallback needs the home class id, which no existing runtime entry point takes.C.prototype.__proto__ = X: the__proto__setter on a class prototype doesn't relink at all, on main or with Drop the old parent's members from a relinked class chain #11764.Related: #11760 (
super.m()ignores a patched parent prototype without a relink).