js-slang icon indicating copy to clipboard operation
js-slang copied to clipboard

Incorrect location for errors thrown by prelude functions

Open leeyi45 opened this issue 1 year ago • 1 comments

image 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.

leeyi45 avatar Mar 30 '23 14:03 leeyi45

This issue persists as of today.

martin-henz avatar Mar 30 '24 09:03 martin-henz