Comments (5)
This is a bug in the underlying haskell-src-exts library, tracked here: haskell-suite/haskell-src-exts#33
Unfortunately once there is a single parse error nothing else works, as that is by design of haskell-src-exts.
from hlint.
This is now implemented in HSE.
from hlint.
The latest version of HLint, in conjunction with haskell-src-exts 1.15.0.1 should now work. (Thanks @nh2 for spotting this bug)
from hlint.
@ndmitchell Would it be worth setting haskell-src-exts-1.15.0.1 as a minimum version dependency within hlint?
from hlint.
@robstewart57 In the past I've very much supported HSE versions as far back as could be reasonably done without C pre processor. The main reason is that people might have other things on their system that require the older haskell-src-exts, and thus it's better for HLint to be a bit more accommodating. That said, it's a popular request, and while it now works, it's not at all obvious that you need to upgrade HSE to get it working in HLint. I'm on the fence, so welcome other opinions.
from hlint.
Related Issues (20)
- Incorrect suggestion to Use ZipWithM for NonEmpty lists HOT 1
- `cabal install hlint` fails with ghc-9.8.1
- Combining ‘within’ and ‘only’ for import restrictions HOT 1
- Support detecting redundant $ in context of BlockArguments HOT 2
- Avoid capitalisms HOT 2
- Are hlint's severities a bit too high in general? HOT 9
- Hlint --ignore-glob seem not to be working correctly HOT 1
- False positive: TemplateHaskell is not redundant when using Typed template haskell splices HOT 2
- Release v3.8 to hackage HOT 2
- Don't suggest replacing `if … else if … else` with guards when `RebindableSyntax` is enabled HOT 1
- cabal new-install apply-refact macos failures HOT 2
- How to ignore within class function
- fix -Wx-partial in Hint.Lambda and Hint.Extensions HOT 2
- QuasiQuotes with # at start of line fail to parse HOT 4
- avoid redundant toList-calls in `containers` package
- hlint incorrectly suggests renaming shadowed "map" when generalise group is on
- Incorrect redundant backet suggestion with `BlockArguments` and operator sections
- hlint-3.8 fails to compile with ghc-9.8.1 HOT 5
- Recommend `Data.Foldable1` over `Data.List.{maximum,minimum}{,By}`
- Make ignore-glob a config key in .hlint.yaml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hlint.