Brittany version:
brittany 0.11.0.0 pulled from NixOS.
Also haskell-ide-engine from one of the latest commits has the same problem.
E.g. can not format the code containing the import with (:.)(..).
Haven't tested it from source, though. Too many build problems related to NixOS.
Example
import Data.Array.Repa ((:.)(..))
Expected:
import Data.Array.Repa ((:.)(..))
or something like that.
Actual:
Loaded package environment from /home/user/Documents/haskell/project/.ghc.environment.x86_64-linux-8.4.3
Loaded package environment from /home/user/Documents/haskell/project/.ghc.environment.x86_64-linux-8.4.3
ERROR: brittany pretty printer returned syntactically invalid result.
I hope, it is not a duplicate, I am sorry if it is, but I couldnt find a similar issue so far.
Brittany version: brittany 0.11.0.0 pulled from NixOS.
Also haskell-ide-engine from one of the latest commits has the same problem. E.g. can not format the code containing the import with
(:.)(..)
. Haven't tested it from source, though. Too many build problems related to NixOS.Example
Expected:
or something like that.
Actual:
I hope, it is not a duplicate, I am sorry if it is, but I couldnt find a similar issue so far.