js-slang
js-slang copied to clipboard
Incorrect location for errors thrown by prelude functions
As seen in the image, the incorrect error location is given if the error occurs within the prelude.
Example to reproduce:
length(1);
The program is only one line long, but the error is indicated to be at line 33.
This issue persists as of today.