Bend/tests/snapshots/simplify_matches__double_unwrap_box.bend.snap
2024-05-29 09:57:40 +02:00

12 lines
325 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/simplify_matches/double_unwrap_box.bend
---
(DoubleUnbox) = λa match a { Boxed/Box b: match b { Boxed/Box c: λd let e = d; let f = e; c; }; }
(Main) = (DoubleUnbox (Boxed/Box (Boxed/Box 0)) 5)
(Boxed/Box) = λa λb (b Boxed/Box/tag a)
(Boxed/Box/tag) = 0