Import errors with flat files structure and multiple cabal modules #2777
Labels
component: implicit-hie
multi-component
Issues relating to multi-component support
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Not sure if this is specifically the plugins issue or just a problem with cabal.
I have the following super simple directory structure:
and module in my cabal file look like this:
When having the following imports in the Test.hs file:
The VSCode plugin shows me on these lines the following error:
When I move the Test file into a separate directory or subdirectory, the problem goes away, but I would like not to create subdirectories for such super simple use cases.
I would however expect that the error would not show since the file is only in the
mytest
module.The text was updated successfully, but these errors were encountered: