0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-28 06:48:20 +02:00

ircd::json: Value stringify semantic fixes.

This commit is contained in:
Jason Volk 2018-02-28 03:12:17 -08:00
parent ff94fdd3a6
commit 2a7d7fa8c8

View file

@ -1431,8 +1431,8 @@ const
case ARRAY:
return serial? !len || string_view{*this} == empty_array:
array? false:
true; //TODO: XXX arr
array? !len:
true;
case LITERAL:
return serial? !len:
@ -1462,7 +1462,7 @@ const
case ARRAY:
return serial? string == nullptr:
array? array == nullptr:
array? false:
true;
case LITERAL: