Closed majkrzak closed 3 years ago
It should work if you put -XOverloadedLabels
in options_ghc
in brittany.yaml
.
I can confirm that Brittany handles overloaded labels just fine:
$ brittany --version
brittany version 0.13.0.0
Copyright (C) 2016-2019 Lennart Spitzner
Copyright (C) 2019 PRODA LTD
There is NO WARRANTY, to the extent permitted by law.
$ cat example.hs
{-# language OverloadedLabels #-}
someLabel = #some
$ brittany < example.hs
{-# language OverloadedLabels #-}
someLabel = #some
Same here, I can't reproduce. Might be something went wrong with my lint script and extension was not detected correctly. Sorry.
When running
brittany
over OverloadedLabels (#foo
) it gets destroyed by appending space between#
andfoo
.