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

16 lines
358 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/simplify_matches/flatten_with_terminal.bend
---
(Foo) = λa switch a { 0: λb let c = b; match c { A_t/A d: match d { B_t/B: B_t/B; }; }; _ e: λf let g = f; *; }
(main) = (Foo 2 (A_t/A B_t/B))
(A_t/A) = λa λb (b A_t/A/tag a)
(B_t/B) = λa (a B_t/B/tag)
(A_t/A/tag) = 0
(B_t/B/tag) = 0