Wrong line number reported on runtime error #953
Closed
Comments
One thing you could do right now is compile I don't have the time right this second to try integrating this functionality into the lsc command when running scripts directly, but it shouldn't be that hard if someone else wanted to try it. |
gkz
added a commit
that referenced
this issue
Mar 8, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having a following
index.ls
file:When running it with:
I get the following error:
The problem is that line number
5
reported in error log forindex.ls
is incorrect in scope ofindex.ls
file. In this example I get a full compiled version as (probably) the demo is short. But when working with bigger files, I do not get a full compiled version, so it becomes difficult to track errors.I tried to use sourcemaps by running:
the result is still the same.
Is there a way to make errors show on correct lines in scope of
ls
files?OS: Linux
Node.js: 7.5.0
LiveScript: 1.5.0
The text was updated successfully, but these errors were encountered: