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
Stack overflow on option of a recursive @unboxed variant #9018
Typeopt.type_cannot_contain_undefined checks the payload of every unboxed case, and Recur's payload is t again. The walk has no visited set or fuel, so it never ends.
Expected: the program compiles. t's values are "End" or, recursively, values of t, so none of them is undefined, and Some(End) can be unboxed.
Found by Codex on #9017, where @notUndefined type alias = t reaches the same walk.
Activity
Fix a stack overflow on option of a recursive @unboxed variant (rescr…