Bend/tests/snapshots/simplify_matches__flatten_with_terminal.bend.snap

16 lines
358 B
Plaintext
Raw Permalink Normal View History

---
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; *; }
2024-05-10 22:42:32 +03:00
(main) = (Foo 2 (A_t/A B_t/B))
(A_t/A) = λa λb (b A_t/A/tag a)
2024-03-19 20:37:30 +03:00
(B_t/B) = λa (a B_t/B/tag)
(A_t/A/tag) = 0
(B_t/B/tag) = 0