After loading a file the Idris2 changes working directory to one level higher and same time keeps reference to the original working directory leading to error Source file X is not in the source directory Y
Reproduced on Idris2 build from main Idris 2, version 0.7.0-055568be2 build on linux with chez scheme.
Steps to Reproduce
Please see the steps below reproduced on Idris2 repository itself.
# <- marks output from Idris, # -> marks input by user
After loading a file the Idris2 changes working directory to one level higher and same time keeps reference to the original working directory leading to error
Source file X is not in the source directory Y
Reproduced on Idris2 build from mainIdris 2, version 0.7.0-055568be2
build on linux with chez scheme.Steps to Reproduce
Please see the steps below reproduced on Idris2 repository itself.
# <-
marks output from Idris,# ->
marks input by userExpected Behavior
:cd
command.:cwd
commandObserved Behavior
This is very likely related also to reported issue in
idris-mode
https://github.com/idris-hackers/idris-mode/issues/624