haskell / haskell/stylish-haskell
Imports that are not on top of file are not parsed properly.
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
There is parse error while parsing some files with imports inside of file (this is possible when using CPP extension). Example file, which is not parsed correctly can be found in Cabal install:
https://github.com/haskell/cabal/blob/master/cabal-install/Distribution/Client/Win32SelfUpgrade.hs
(there are imports on lines 209 and 210)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.