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
{{ message }}
Repository navigation
A parent's method reaching a redeclared private through a receiver other than $this gets the subclass's slot. #577
Known-bug repro: tests/aot/repro/wrong/private_shadow_other_receiver.php — bash tests/aot/xfail.sh -k private_shadow_other_receiver reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Root cause found during the #655 sweep (not fixed, needs design): a private property slot must be resolved from the CALLING scope's private declaration, not from the receiver's static class. The repros need it on every path: the static typed path, the erased class-id switch helpers, $this instanceof C narrowing and Closure::bind scopes.
Activity
blacktrs commentedon Nov 12, 2026
Root cause found during the #655 sweep (not fixed, needs design): a private property slot must be resolved from the CALLING scope's private declaration, not from the receiver's static class. The repros need it on every path: the static typed path, the erased class-id switch helpers,
$this instanceof Cnarrowing andClosure::bindscopes.