New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack keeps warning about removed modules #921
Comments
In the meantime, is there something I can poke at to get rid of this cached information somewhere? I'd like to avoid a full |
@hesselink I tested this out and I think it's fixed on master (see below). Can you confirm?
|
@chrisdone I'm trying, but switching to stack from master seems to make stack want to reinstall a lot of packages. The reinstall then fails due to #941, which I don't think I can work around, so for now I can't test this, sorry. |
I've tried again but ran into another issue (#944). I'll keep trying when that one has been fixed :) |
I've now been able to test this with master (Version 0.1.4.1, Git revision e2152ec X86_64). I went back to before I removed the modules, and called
But it built ok, and |
Just once makes sense as it comes from the .hi files, then building updates the .hi files. So that seems ok. |
@hesselink that can be closed so ? |
Closing. #838 may end up improving the warning situation, but I'm not certain. |
+ Fully resolves #921, where unlisted module warnings were being emitted for deleted modules
@hesselink, I pushed a commit which resolves the issue mentioned in your comment above. |
Thanks for the update! |
I removed a few modules from a package and from the cabal file. Now
stack build
keeps warning about them, even though it doesn't rebuild anything. Additionally,stack ghci
fails to load because it tries to load the removed modules.The text was updated successfully, but these errors were encountered: