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