mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 10:31:05 +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.
11 lines
240 B
Plaintext
11 lines
240 B
Plaintext
RUNTIME ERROR: Unexpected type string, expected array
|
|
-------------------------------------------------
|
|
testdata/std.join8:1:1-33 $
|
|
|
|
std.join([3, 4], [[1, 2], "56"])
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|