mirror of
https://github.com/google/go-jsonnet.git
synced 2026-04-16 02:41:27 +02: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
315 B
Plaintext
16 lines
315 B
Plaintext
RUNTIME ERROR: x
|
|
-------------------------------------------------
|
|
testdata/arrcomp_if6:1:20-29 $
|
|
|
|
[x for x in [1] if error "x"]
|
|
|
|
-------------------------------------------------
|
|
testdata/arrcomp_if6:1:1-30
|
|
|
|
[x for x in [1] if error "x"]
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|