You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a difference on the line and column numbers when evaluating erroneous code with different ways. When I ran code
(ns testing)
(foo 1 2)
with Calva: Load (evaluate) current file and it's dependencies, I receive the following error message to the output: Evaluating file: testing.clj Syntax error compiling at (src/main/clojure/testing.clj:3:1). Unable to resolve symbol: foo in this context. Here the line and column numbers looks correct.
But when I ran only the (foo 1 2) form with Calva: Evaluate current form/selection inline and print to output I receive: Error: Syntax error compiling at (src/main/clojure/testing.clj:2:0). Unable to resolve symbol: foo in this context where the line and column number differs.
The text was updated successfully, but these errors were encountered:
Seems to be an off by one, issue. The VS Code API reports line and column numbers zero based, so that's probably what's going on. We need to inc them once.
Hey,
I noticed a difference on the line and column numbers when evaluating erroneous code with different ways. When I ran code
with Calva: Load (evaluate) current file and it's dependencies, I receive the following error message to the output:
Evaluating file: testing.clj Syntax error compiling at (src/main/clojure/testing.clj:3:1). Unable to resolve symbol: foo in this context
. Here the line and column numbers looks correct.But when I ran only the
(foo 1 2)
form with Calva: Evaluate current form/selection inline and print to output I receive:Error: Syntax error compiling at (src/main/clojure/testing.clj:2:0). Unable to resolve symbol: foo in this context
where the line and column number differs.The text was updated successfully, but these errors were encountered: