Closed Kmeakin closed 1 year ago
At the moment, we throw away the name of the binder when elaborating pattern matches to ConstMatch with a default branch
ConstMatch
eg
match x { 0 => 1, y => y, }
elaborates to
match x { 0 => 1, _ => _, }
This patch preserves the name of the binding, making the elaborated core more readable
This is great, thanks!
At the moment, we throw away the name of the binder when elaborating pattern matches to
ConstMatch
with a default brancheg
elaborates to
This patch preserves the name of the binding, making the elaborated core more readable