mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 18:41:07 +01:00
Fixes multiple issues with stack traces leading to missing stack trace lines. Also, we no longer put builtin context on the line which *calls* the builtin as if it was a part of the builtin itself. Code for stack trace handling was centralized. We no longer need traceElement argument in ~every function. Now the stack trace state is kept solely in the interpreter.
16 lines
338 B
Plaintext
16 lines
338 B
Plaintext
RUNTIME ERROR: foo
|
|
-------------------------------------------------
|
|
testdata/std.sort3:1:16-27 thunk from <thunk from <$>>
|
|
|
|
std.sort([1,2, error "foo"])
|
|
|
|
-------------------------------------------------
|
|
testdata/std.sort3:1:1-29 $
|
|
|
|
std.sort([1,2, error "foo"])
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|