Skip to content

make style fails "The GHC parser (in Haddock mode) failed" #9423

Open
@mpickering

Description

If I try to run the make style rule to apply the formatter to all my files then I get:

[nix-shell:~/cabal]$ make style
cabal-install/src/Distribution/Client/Semaphore/System.hs:66:1
  The GHC parser (in Haddock mode) failed:
  [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets)
make: *** [Makefile:22: style] Error 102

It also seems to apply formatting to a lot of files which I haven't modified.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions