-
Notifications
You must be signed in to change notification settings - Fork 175
Error: module Main defined in multiple files #609
Comments
I think this might happen when I have at least two buffers open, both declaring |
@kazu-yamamoto could you please implement unmapping files in the elisp frontend? I think the problem here is that we only ever map-file but never remove the mapping. I think we should be doing something like:
|
👍 I am using the latest from master bff86be with the elisp file (ghc-20151013.1219) coming from melpa. |
@DanielG I am back to a normal release "ghc-mod version 5.5.0.0 compiled by GHC 7.10.3". I have just got the problem again. Have your changes still local ? |
@PierreR Can you open a new issue and describe exactly what you're doing to cause the error? A copy of |
First attempt at fixing this: 02f664a. Will keep this in the dev-elisp branch until I'm convinced it doesn't race or break anything. Testers welcome. |
I don't know if this helps but I'm seeing the same issues in GHC Error;
|
@asheshambasta sorry I'm only responding now. Like I mentioned above, you can try using the Emacs code in the dev-elisp branch: #672. But that probably comes with downsides and broken things since I've been shuffling the code around a fair bit in that branch. If you need help setting that up just say so. |
See alanz@66fc098 |
Probably has something to do with map-file.
The text was updated successfully, but these errors were encountered: