• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/ucode/tests/custom/99_bugs/47_compiler_no_prop_kw_after_spread

  1 Ensure that unquoted property names following spread expressions in object
  2 declaration literals are not treated as keywords.
  3 
  4 -- Testcase --
  5 {%
  6 printf("%.J\n", {
  7         ...{},
  8         for: true
  9 });
 10 %}
 11 -- End --
 12 
 13 -- Expect stdout --
 14 {
 15         "for": true
 16 }
 17 -- End --

This page was automatically generated by LXR 0.3.1.  •  OpenWrt