Add recursive merge test

This commit is contained in:
LunaAmora 2024-02-01 12:29:24 -03:00
parent cef06bf71d
commit eb96960ae9
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
foo_1 = @x (x foo_2)
foo_2 = @a @b (a, b)
bar_1 = @x (x bar_2)
bar_2 = @a @b (a, b)

View File

@ -0,0 +1,7 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/merge_recursive.hvm
---
(foo_1_$_bar_1) = λx (x foo_2_$_bar_2)
(foo_2_$_bar_2) = λa λb (a, b)