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

Sources/ucode/tests/custom/99_bugs/50_missing_upvalue_resolving

  1 Commit e5fe6b1 ("treewide: refactor vector usage code") accidentially dropped
  2 the upvalue resolving logic from uc_vm_stack_push(), leading to unresolved
  3 upvalues leaking into the script execution context.
  4 
  5 -- File test.uc --
  6 export let obj = { foo: true, bar: false };
  7 -- End --
  8 
  9 -- Testcase --
 10 import * as test from "./files/test.uc";
 11 
 12 printf("%.J\n", [
 13         type(test.obj),
 14         test.obj.foo
 15 ]);
 16 -- End --
 17 
 18 -- Args --
 19 -R
 20 -- End --
 21 
 22 -- Expect stdout --
 23 [
 24         "object",
 25         true
 26 ]
 27 -- End --

This page was automatically generated by LXR 0.3.1.  •  OpenWrt