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