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
Standardize how we handle smart pointers in the compiler #1529
We haven't been programmatic while dealing with smart pointers specially when handling fat pointers. In some places, we create special cases for boxes or other types of pointers, while others we consider fat pointers as only references or raw pointer.
We haven't been dealing well with other types of smart pointers that are known to the compilers. So far these issues have manifested as crashes in the compiler. E.g.: #1528, #676, #416.
Superseded by the coercion refactor (2b3a9be, ed24f69). #1531 and the cited crashes are closed, and repro 1529-1 (Rc/Arc/Box/NonNull unsizing) passes on main.
Activity
feliperodri commentedon Nov 5, 2026
Superseded by the coercion refactor (2b3a9be, ed24f69). #1531 and the cited crashes are closed, and repro 1529-1 (Rc/Arc/Box/NonNull unsizing) passes on main.