dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

SCI/GraalVM port reports wrong line numbers on error #171

Open dundalek opened 4 years ago

dundalek commented 4 years ago

When an error occurs in a script file, the SCI/GraalVM port reports wrong location.

I am not sure whether the reader itself assigns wrong metadata or whether the metadata gets lost when the code is translated inside the sh macro.

I've disabled those unit tests for now, but would like to address in the future. The full test suite for sci including those tests can be run with npm run test-clj-sci-complete.