roc/compiler/alias_analysis
Ayaz Hafiz 2079a64cb7
Make sure to unwrap non-nullable unwrapped unions directly in alias analysis
Non-nullable unwrapped tag unions are represented directly as the type
of their singleton variant in morphic. Other recursive tag unions are
something like `(heap_cell, union [A, B (<rec>)])` for recursive union
`[A, B (<rec>)]`, but a non-nullable unwrapped tag union `[ Foo Str <rec> ]`
is represented directly as the tuple `(Str <rec>)`. Make sure we don't
try to unwrap a non-existent heap cell and union data for such type
representations.

Closes #3261
2022-06-22 12:36:37 -04:00
..
src Make sure to unwrap non-nullable unwrapped unions directly in alias analysis 2022-06-22 12:36:37 -04:00
Cargo.toml cargo fix --edition 2022-05-16 17:04:17 +02:00