-
Notifications
You must be signed in to change notification settings - Fork 72
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
Nested Packages Can't Find Their Parents #624
Comments
update the regexp to include also double quotes. Why: In Idris2 the sourcedir option has double quotes. Relates to: idris-hackers#624
We are getting closer to fix this although there is still some weird behaviour that I don't understand yet.
|
When opening a nested package (a package defined within another package), idris-mode can't seem to find the outer package, as idris itself can. When trying to run test code from the REPL, I get the following error:
The complete file tree looks like this:
I happened to use pack to generate this project scaffold, but I don't think its the cause of the issue.
Here are the contents of the relevant files:
When I open
src/Frombus.idr
, everything works fine. However, when I opentest/src/Main.idr
and executeidris-load-file
, the error is reported.I'm not totally sure, but I think it's a bug in the emacs major mode rather than idris. I can build and run the tests (either by hand or through pack), can find
frombus
as an available package when I runidris2 --list-packages
, and can runidris2 --repl test/test.ipkg
without issue.The text was updated successfully, but these errors were encountered: