haskell / haskell/stylish-haskell

Indented import statements cause parsing error

Open
#400 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm on stylish-haskell 0.14.1.0 with the default configurations (no configuration files).

After going over some testing, it seems that indentation on the import statements is causing a parsing error in form of `error: parse error on input ...`, which should be reproducible on any modules with indented import statements.

The testing codes and logs are available [here](https://stackoverflow.com/questions/71963606/indented-import-statement-causes-parsing-error-in-stylish-haskell).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.