Update cpp-jsonnet.

This commit is contained in:
Stanisław Barzowski 2020-02-09 11:28:40 +01:00
parent a7af40a87e
commit 425405da78
13 changed files with 35501 additions and 31956 deletions

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 552d8ec6f6b973a6357b83eb9bacd707366d28f0
Subproject commit 7d624c1cb2ef095c1585bd25a8be883fb16f9e73

View File

@ -1,6 +1,6 @@
RUNTIME ERROR: Assertion failed. {"x": 1} != {"x": 2}
-------------------------------------------------
<std>:787:7-50 function <anonymous>
<std>:792:7-50 function <anonymous>
error 'Assertion failed. ' + a + ' != ' + b,

View File

@ -2,7 +2,7 @@ RUNTIME ERROR: Assertion failed.
!=
-------------------------------------------------
<std>:787:7-50 function <anonymous>
<std>:792:7-50 function <anonymous>
error 'Assertion failed. ' + a + ' != ' + b,

View File

@ -1,6 +1,6 @@
RUNTIME ERROR: Assertion failed.  !=
-------------------------------------------------
<std>:787:7-50 function <anonymous>
<std>:792:7-50 function <anonymous>
error 'Assertion failed. ' + a + ' != ' + b,

View File

@ -1,6 +1,6 @@
RUNTIME ERROR: Operator % cannot be used on types number and string.
-------------------------------------------------
<std>:229:7-94 function <anonymous>
<std>:239:7-94 function <anonymous>
error 'Operator % cannot be used on types ' + std.type(a) + ' and ' + std.type(b) + '.',

View File

@ -1,21 +1,21 @@
RUNTIME ERROR: Too many values to format: 1, expected 0
-------------------------------------------------
<std>:657:11-86 function <format_codes_arr>
<std>:662:11-86 function <format_codes_arr>
error ('Too many values to format: ' + std.length(arr) + ', expected ' + j)
-------------------------------------------------
<std>:663:11-59 function <format_codes_arr>
<std>:668:11-59 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j, v + code) tailstrict
-------------------------------------------------
<std>:754:7-48 function <anonymous>
<std>:759:7-48 function <anonymous>
format_codes_arr(codes, [vals], 0, 0, ''),
-------------------------------------------------
<std>:227:7-23 function <anonymous>
<std>:237:7-23 function <anonymous>
std.format(a, b)

View File

@ -1,6 +1,6 @@
RUNTIME ERROR: Operator % cannot be used on types function and number.
-------------------------------------------------
<std>:229:7-94 function <anonymous>
<std>:239:7-94 function <anonymous>
error 'Operator % cannot be used on types ' + std.type(a) + ' and ' + std.type(b) + '.',

View File

@ -1,21 +1,21 @@
RUNTIME ERROR: Too many values to format: 2, expected 1
-------------------------------------------------
<std>:657:11-86 function <format_codes_arr>
<std>:662:11-86 function <format_codes_arr>
error ('Too many values to format: ' + std.length(arr) + ', expected ' + j)
-------------------------------------------------
<std>:663:11-59 function <format_codes_arr>
<std>:668:11-59 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j, v + code) tailstrict
-------------------------------------------------
<std>:750:7-46 function <anonymous>
<std>:755:7-46 function <anonymous>
format_codes_arr(codes, vals, 0, 0, '')
-------------------------------------------------
<std>:227:7-23 function <anonymous>
<std>:237:7-23 function <anonymous>
std.format(a, b)

View File

@ -1,38 +1,38 @@
RUNTIME ERROR: Not enough values to format: 1, expected at least 1
RUNTIME ERROR: Not enough values to format: 1, expected more than 1
-------------------------------------------------
<std>:690:15-102 thunk <val> from <function <format_codes_arr>>
<std>:695:15-103 thunk <val> from <function <format_codes_arr>>
error ('Not enough values to format: ' + std.length(arr) + ', expected at least ' + j2);
error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2);
-------------------------------------------------
<std>:695:27-30 thunk from <thunk <s> from <function <format_codes_arr>>>
<std>:700:27-30 thunk from <thunk <s> from <function <format_codes_arr>>>
format_code(val, code, tmp.fw, tmp2.prec, j2);
-------------------------------------------------
<std>:565:22-25 thunk from <function <format_code>>
<std>:570:22-25 thunk from <function <format_code>>
std.toString(val)
-------------------------------------------------
<std>:565:9-26 function <format_code>
<std>:570:9-26 function <format_code>
std.toString(val)
-------------------------------------------------
... (skipped 10 frames)
-------------------------------------------------
<std>:706:11-64 function <format_codes_arr>
<std>:711:11-64 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;
-------------------------------------------------
<std>:750:7-46 function <anonymous>
<std>:755:7-46 function <anonymous>
format_codes_arr(codes, vals, 0, 0, '')
-------------------------------------------------
<std>:227:7-23 function <anonymous>
<std>:237:7-23 function <anonymous>
std.format(a, b)

View File

@ -1,38 +1,38 @@
RUNTIME ERROR: Not enough values to format: 1, expected at least 1
RUNTIME ERROR: Not enough values to format: 1, expected more than 1
-------------------------------------------------
<std>:690:15-102 thunk <val> from <function <format_codes_arr>>
<std>:695:15-103 thunk <val> from <function <format_codes_arr>>
error ('Not enough values to format: ' + std.length(arr) + ', expected at least ' + j2);
error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2);
-------------------------------------------------
<std>:695:27-30 thunk from <thunk <s> from <function <format_codes_arr>>>
<std>:700:27-30 thunk from <thunk <s> from <function <format_codes_arr>>>
format_code(val, code, tmp.fw, tmp2.prec, j2);
-------------------------------------------------
<std>:565:22-25 thunk from <function <format_code>>
<std>:570:22-25 thunk from <function <format_code>>
std.toString(val)
-------------------------------------------------
<std>:565:9-26 function <format_code>
<std>:570:9-26 function <format_code>
std.toString(val)
-------------------------------------------------
... (skipped 10 frames)
-------------------------------------------------
<std>:706:11-64 function <format_codes_arr>
<std>:711:11-64 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;
-------------------------------------------------
<std>:754:7-48 function <anonymous>
<std>:759:7-48 function <anonymous>
format_codes_arr(codes, [vals], 0, 0, ''),
-------------------------------------------------
<std>:227:7-23 function <anonymous>
<std>:237:7-23 function <anonymous>
std.format(a, b)

View File

@ -1,39 +1,39 @@
RUNTIME ERROR: Format required number at 0, got string
-------------------------------------------------
<std>:(568:11)-(569:47) function <format_code>
<std>:(573:11)-(574:47) function <format_code>
error 'Format required number at '
+ i + ', got ' + std.type(val)
-------------------------------------------------
<std>:695:15-60 thunk <s> from <function <format_codes_arr>>
<std>:700:15-60 thunk <s> from <function <format_codes_arr>>
format_code(val, code, tmp.fw, tmp2.prec, j2);
-------------------------------------------------
<std>:700:24-25 thunk from <thunk <s_padded> from <function <format_codes_arr>>>
<std>:705:24-25 thunk from <thunk <s_padded> from <function <format_codes_arr>>>
pad_left(s, tmp.fw, ' ');
-------------------------------------------------
<std>:475:30-33 thunk from <thunk from <function <pad_left>>>
<std>:480:30-33 thunk from <thunk from <function <pad_left>>>
padding(w - std.length(str), s) + str;
-------------------------------------------------
... (skipped 7 frames)
-------------------------------------------------
<std>:706:11-64 function <format_codes_arr>
<std>:711:11-64 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;
-------------------------------------------------
<std>:750:7-46 function <anonymous>
<std>:755:7-46 function <anonymous>
format_codes_arr(codes, vals, 0, 0, '')
-------------------------------------------------
<std>:227:7-23 function <anonymous>
<std>:237:7-23 function <anonymous>
std.format(a, b)

View File

@ -1,6 +1,6 @@
RUNTIME ERROR: Division by zero.
-------------------------------------------------
<std>:225:7-23 builtin function <modulo>
<std>:235:7-23 builtin function <modulo>
std.modulo(a, b)