-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
Description
Describe the bug
There is an off by one error in the stack trace line when logging a runtime error.
To Reproduce
Paste this code in the editor and run it. Then look at the stack trace.
function Main() : Unit {
fail "line 2";
}
Expected behavior
The stack trace should report the failure at line 2, but reports it at line 1.
Copilot