Extension stops working when using a common stanza in .cabal
file
#2432
Labels
can-workaround
component: implicit-hie
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Which OS do you use:
Mac OSX
Steps to reproduce
Extracting shared properties to a
common
stanza, as described in cabal docs (end of section 4.1.7), causes plugin to stop working, with "Multi Cradle: No prefixes matched"Expected behaviour
Extension should work as usual. When using this it works fine:
Actual behaviour
Squiggly red line under the first line (
module Main where
) statingMulti Cradle: No prefixes matched
using this cabal file:
Include debug information
Execute in the root of your project the command
haskell-language-server-wrapper --debug .
and paste the logs here (you can find the executable location here):Debug output with bad cabal file:
Debug output with good cabal file
Paste the contents of extension specific log, you can check instructions about how to find it here
Extension log:
The text was updated successfully, but these errors were encountered: