tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
956 stars 83 forks source link

Handle `UnicodeSyntax` variants more consistently #935

Closed amesgen closed 1 year ago

amesgen commented 1 year ago

Closes #934, key function is unicodeAnn.

I also spotted another case w.r.t. existential types where we were previously only matching the non-Unicode variant, see the added test case.