-
Notifications
You must be signed in to change notification settings - Fork 380
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
Idris always use <file>.idr instead of <file>.lidr #37
Comments
Comment by gallais AFAIU this is more a problem of seeing an existing |
Comment by jfdm From a quick look over the source, I think the issue here is that Idris2 generates a See: https://github.com/edwinb/Idris2/blob/master/src/Idris/ProcessIdr.idr#L313 I am not sure if Idris1 has the same issue and how it dealt with it, if there was no issue. |
Comment by petithug I do not think the presence of the ttc file is the problem: In a clean directory creates two files, a Test.idr containing Then run |
Fix primitive function for acos
Looking at something else, I think I have accidentally found the origin of this:
I should have a fix fairly soon if that's indeed the issue. |
Issue by petithug
Sunday Mar 29, 2020 at 17:54 GMT
Originally opened as edwinb/Idris2-boot#246
This is a corner case, but an annoying one when migrating idris1 files to literate idris2 files.
Steps to Reproduce
Crete two files with the same name, different content, but one with the ".idr" extension and the other with the ".lidr" extension.
Expected Behavior
Loading each file in the REPL will create different build/ content.
Observed Behavior
When loading the ".lidr" file, the ".idr file is used instead, and build/ contains the same content than for the ".idr" file.
The text was updated successfully, but these errors were encountered: