tweag / ormolu

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

Support type applications in patterns #931

Closed amesgen closed 1 year ago

amesgen commented 1 year ago

Closes #930

In all other occurences of PrefixCon (in an expression context), tys is of type [Void], which is probably why I thought that it is also not relevant in a pattern context :shrug: Also, it was not mentioned in the changelog of 9.2: https://gitlab.haskell.org/ghc/ghc/-/issues/22397