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 referenced local whose type changes reads a stale/raw word (use (&$d), $r = &$d) #59
area:refsReference cells / by-ref semanticsarea:typesType inference / representation / VRAbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Known-bug repro: tests/aot/repro/wrong/ref_retype.php — bash tests/aot/xfail.sh -k ref_retype reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Scope: type-system work. A referenced local whose type changes (use (&$d), $r = &$d) needs the box and its representation to follow the retype across all aliases; today a by-ref write that changes the type leaves a stale/raw word. Related open item: erased/aliased channel is not self-describing. Repro: tests/aot/repro/wrong/ref_retype.php.
area:refsReference cells / by-ref semanticsarea:typesType inference / representation / VRAbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Activity
blacktrs commentedon Oct 13, 2026
Scope: type-system work. A referenced local whose type changes (
use (&$d),$r = &$d) needs the box and its representation to follow the retype across all aliases; today a by-ref write that changes the type leaves a stale/raw word. Related open item: erased/aliased channel is not self-describing. Repro:tests/aot/repro/wrong/ref_retype.php.