Bend/tests/snapshots/simplify_matches__adt_tup_era.bend.snap
2024-05-27 15:09:23 -03:00

12 lines
289 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/simplify_matches/adt_tup_era.bend
---
(Foo) = λa match a { Tuple/Pair b c: (match b { Tuple/Pair d e: λf d; } c); }
(Main) = (Foo (Tuple/Pair 1 5))
(Tuple/Pair) = λa λb λc (c Tuple/Pair/tag a b)
(Tuple/Pair/tag) = 0