blob: 60b276c1612536f818ff9566f8f9512956cb8dcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
When executing an object literal declaration using non-string computed
property name values, the VM crashed caused by an attempt to use a NULL
pointer (result of ucv_string_get() on a non-string value) as hash table
key.
-- Testcase --
{%
printf("%.J\n", { [1]: "test", [true]: "foo" });
%}
-- End --
-- Expect stdout --
{
"1": "test",
"true": "foo"
}
-- End --
|