question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception in HLint integration with lts-11.x

See original GitHub issue

I noticed I don’t get any hlint warnings inside the IDE when I set my resolver in stack.yaml to lts-11.x.

Additionaly, an IDE error occurs

Expected String as JsString, but got ["LinkedList"] where LinkedList is the name of the module hlint tries to scan.

exception.txt

hlint works fine from the CLI

$ hlint -V
HLint v2.1.1, (C) Neil Mitchell 2006-2018

My workaround is to stick with lts-10.2 where everything works fine.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rikvdkleijcommented, Apr 1, 2018

Thanks for reporting! The Hlint API is changed in 2.1 I will have to change the Hlint integration in a backwards compatible way.

1reaction
rikvdkleijcommented, Jun 5, 2018

I have released new version of plugin https://github.com/rikvdkleij/intellij-haskell/releases/tag/v1.0.0-beta14 It’s also uploaded it to Alpha channel of Jetbrains plugin repo but that can take some time before it’s published

Read more comments on GitHub >

github_iconTop Results From Across the Web

hlint/README.md at master · ndmitchell/hlint - GitHub
GHCi integration has been provided by Gwern Branwen. The integration allows running :hlint from the GHCi prompt. The script is at hlint.ghci, and...
Read more >
HLint Manual - Hackage
This document is structured as follows: Installing and running HLint; FAQ; Customizing the hints. Acknowledgements. This program has only been made possible by...
Read more >
LTS Haskell 11.22 (ghc-8.2.2) :: Stackage Server
Embed a Ruby intepreter in your Haskell program ! hsass-0.5.0, Integrating Sass into Haskell applications. hsb2hs-0.3.1, Preprocesses a file, ...
Read more >
https://gitlab.emacsos.com/sylecn/reliable-downloa...
2018-05-06 how to run hlint stack exec hlint -- src api client ** 2018-05-05 ... it supports stdout, ES, pg. it supports lts-11.x...
Read more >
Releases - Pandoc
HTML writer and templates: revert to using width property for column widths (Albert Krewinkel). The default flex and overflow-x properties of a column...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found