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
Internal error if files cannot be written to the directory for temporary files #4516
Comments
Please supply additional information:
|
|
It turned out to be an error with spacemacs (https://emacs.stackexchange.com/questions/51684/getting-permissions-errors-related-to-var-folders-directory-after-doing-mac-mig) |
Agda shouldn't raise an internal error if the problem is related to the file system.
agda/src/full/Agda/TypeChecking/Monad/Base.hs Lines 4120 to 4124 in f7c0c35
This definition is used once: agda/src/full/Agda/Interaction/InteractionTop.hs Lines 135 to 139 in f7c0c35
This definition is also used once: agda/src/full/Agda/Interaction/InteractionTop.hs Lines 228 to 244 in b0f6962
I'm wondering if the problem is that an error is raised in agda/src/full/Agda/Interaction/InteractionTop.hs Lines 246 to 271 in b0f6962
I guess that in this case I managed to recreate the error message:
Another way to make |
On typecheck I get the following error:
However it only happens from within emacs, i.e. if I run
agda Test.agda
there is no problem.The text was updated successfully, but these errors were encountered: