Discord
Login
Community
DARK THEME

Syntax Error Line Is Always 34

I've noticed that the error line number in JavaScript is always 34, unless the error is a runtime error. I assume this is the line where an error is thrown in some other script, and it could make debugging tricky for large files. I've tested it in a few cases, but not all of them, and the error line has always been 34. Hey, at least make it 42!

// my_file (javascript)

/* line 1 */ thisWillCauseASyntaxError\;

Invalid or unexpected token, in file "my_file" at line 34

I get my towel ready 😆

There is a merge request on github that fixes this bug.

https://github.com/pmgl/microstudio/pull/217

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community