Fixed pretty printing and pattern split #602
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "github/fork/radrow/pp-pat-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: radrow
Pretty printing was broken in few places due to type errors – one may check it by executing
pp_fexpr
on bodies of functions right after processing. There were also some bugs in managing patterns (fpat
was sometimes mistaken withfsplit_pat
). I have added one test that used to crash previous version.Beside that I undo #106 because the "fix" I provided there turned out to be treatment of symptoms. This PR should fix that issue in proper way now.
Created by: UlfNorell
Review: Approved
Created by: lucafavatella
I see in the second element of
{tuple, _}
no need forvar
according to the type. Ok.Created by: lucafavatella
Review: Approved
Created by: radrow
It was confusing a bit because in
fpat
thisvar
was mandatory but infsplit_pat
noMerged by: dincho at 2019-07-29 11:27:02 UTC