Open dundalek opened 6 years ago
Interesting. load-file
is a "REPL special" form which only really works at the REPL. I suppose we didn't predict the case where it would have been called inside eval
. Do you wanna work on a fix?
I would like to help out, but I am not sure where to look and what would be needed to change. Do you have any pointers?
I have an example
script.cljc
with a following content:Running
load-file
in REPL works as expected:However, it does not load inside eval:
Interestingly lumo's internal
execute-path
works inside eval:Would it be possible to make
load-file
work in eval context as well?