Closed fendor closed 4 years ago
@fendor Thanks for reporting the problem. It looks like the current implementation of this inspection can be improved to handle such cases. Just for the sake of having the full context, what version of GHC were you using to build Stan and produce HIE files for your project?
I am using GHC 8.8.3
Built stan from source, current master.
Executed on the https://github.com/haskell/haskell-language-server code-base. Generated .hie files via adding
-fwrite-ide-info
and-hiedir=.hie
to ghc-options for the library stanza.This seems wrong to me, and I also cant add the Strictness Annotation to the class constraint.
Relevant definitions: