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 reified class whose binding changes a property's layout coerces an argument that does not fit the binding instead of keeping it. #135
area: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/reified_layout_spec_coerces_misfit_arg.php — bash tests/aot/xfail.sh -k reified_layout_spec_coerces_misfit_arg 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: decision needed (throw vs route to origin). A reified/bound generic coerces a misfit argument to the binding's type. The direct call path to the specialized class coerces; the existing claimParams/claimCheck route to the origin body exists only for erased thunks and only when the layout matches. For a layout-changing binding (e.g. Bag<float>) the origin body cannot run on the object, so the options are: (a) throw TypeError/ValueError at the boundary (matches the 'narrowing out of range is explicit, never silent' rule), or (b) give up the binding. Proposed: (a), with the check added at direct call sites. Found in batch E; not changed.
area:typesType inference / representation / VRAbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Activity
Reified routing: a routed call's by-ref default check counts the rece…
Manticore\Ds Map, Set and Vec: native insertion-ordered hash containe…
blacktrs commentedon Oct 13, 2026
Scope: decision needed (throw vs route to origin). A reified/bound generic coerces a misfit argument to the binding's type. The direct call path to the specialized class coerces; the existing
claimParams/claimCheckroute to the origin body exists only for erased thunks and only when the layout matches. For a layout-changing binding (e.g.Bag<float>) the origin body cannot run on the object, so the options are: (a) throw TypeError/ValueError at the boundary (matches the 'narrowing out of range is explicit, never silent' rule), or (b) give up the binding. Proposed: (a), with the check added at direct call sites. Found in batch E; not changed.