lspitzner / brittany

haskell source code formatter
GNU Affero General Public License v3.0
692 stars 72 forks source link

RecordWildCards are not supported #52

Closed dplusic closed 6 years ago

dplusic commented 7 years ago

Input:

{-# LANGUAGE RecordWildCards #-}
v = A {a = 1, ..} where b = 2

Error:

ERROR: brittany pretty printer returned syntactically invalid result.
ERROR: encountered unknown syntactical constructs:
RecordCon with puns
lspitzner commented 7 years ago

I think this will work. Although I have not really tested the code for recordwildcards in patterns. Please test and report if there are any issues.