mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
12 lines
325 B
Plaintext
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
|