Improve idris-filename-to-load to return expected pair of dir and relative path depending on idris-protocol version#634
Conversation
|
AFAICT, the error is due to flycheck. I am not sure how your changes would have triggered the flycheck eror, I suspect they didn't. I will run the builds again and hope for the best... |
|
Ahh, the flycheck things are warnings. The issue seems to be: I wonder if |
Yes, I think we can backport it into |
2694443 to
51e59b6
Compare
51e59b6 to
92b7e1b
Compare
"source dir" and "relative file path" or "work dir" and "relative file path" when idris protocol version is greater than 1. Why: In Idris2 the files are loaded relative to work directory which is a directory containing an ".ipkg" file. Relates to: idris-lang/Idris2#3310 idris-hackers#627
92b7e1b to
73c718a
Compare
|
Is this good to go now? |
|
Yes I think so. |
What:
Make
(idris-filename-to-load)to returnWhy:
In Idris2 the files are loaded relative to work directory which is a directory containing an ".ipkg" file.
This will allow us reintroduce regexp to correctly extract sourcedir value from ipkg file in Idris2.
Relates to:
idris-lang/Idris2#3310
#627