mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-07 14:57:24 +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.
11 lines
300 B
Plaintext
11 lines
300 B
Plaintext
RUNTIME ERROR: base64 encountered invalid codepoint value in the array (must be 0 <= X <= 255), got 256
|
|
-------------------------------------------------
|
|
testdata/builtinBase64_string_high_codepoint:1:1-17 $
|
|
|
|
std.base64("Ā")
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|