mirror of
https://github.com/google/go-jsonnet.git
synced 2026-04-16 19:01:01 +02:00
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
RUNTIME ERROR: Format required number at 0, got string
|
|
-------------------------------------------------
|
|
<std>:(595:11)-(596:47) function <format_code>
|
|
|
|
error 'Format required number at '
|
|
+ i + ', got ' + std.type(val)
|
|
|
|
-------------------------------------------------
|
|
<std>:722:15-60 thunk <s> from <function <format_codes_arr>>
|
|
|
|
format_code(val, code, tmp.fw, tmp2.prec, j2);
|
|
|
|
-------------------------------------------------
|
|
<std>:727:24-25 thunk from <thunk <s_padded> from <function <format_codes_arr>>>
|
|
|
|
pad_left(s, tmp.fw, ' ');
|
|
|
|
-------------------------------------------------
|
|
<std>:480:30-33 thunk from <thunk from <function <pad_left>>>
|
|
|
|
padding(w - std.length(str), s) + str;
|
|
|
|
-------------------------------------------------
|
|
... (skipped 7 frames)
|
|
-------------------------------------------------
|
|
<std>:733:11-64 function <format_codes_arr>
|
|
|
|
format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;
|
|
|
|
-------------------------------------------------
|
|
<std>:777:7-46 function <anonymous>
|
|
|
|
format_codes_arr(codes, vals, 0, 0, '')
|
|
|
|
-------------------------------------------------
|
|
<std>:237:7-23 function <anonymous>
|
|
|
|
std.format(a, b)
|
|
|
|
-------------------------------------------------
|
|
testdata/percent_format_str7:1:1-15
|
|
|
|
"x %d" % ["y"]
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|