Bend/tests/golden_tests/run_lazy/unused_dup_var.bend
2024-05-15 21:26:16 +02:00

8 lines
170 B
Plaintext

X = λx x
# This leaves (b1 X) with an ERA in the return, but the DUP is kept with an unused var
main = (
(λa λb let {b1 b2} = b; (a (b1 X) (b2 X)))
(λa λb b)
)