Bend/tests/golden_tests/compile_file_o_all/match_dup_and_reconstruction.bend

8 lines
98 B
Plaintext

type Box = (Boxed val)
Got = @a match a {
Box/Boxed: (a, a.val)
}
main = (Got (Box/Boxed 10))