blob: fdac855d84cfb4f956a897cd635df05a78653a1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Golden test output of SBEVariableTest/LocalVariable
-- INPUT EXPRESSION:
let [
l10.0 = "abcdeghijklmnop"
]
in newArray(l10.0, l10.0)
-- COMPILED EXPRESSION:
[0x0000-0x0019] stackSize: 1, maxStackSize: 4
0x0000: pushConstVal(value: "abcdeghijklmnop");
0x000a: pushLocalVal(arg: 0);
0x000f: pushLocalVal(arg: 1);
0x0014: functionSmall(f: newArray, arity: 2);
0x0017: swap();
0x0018: pop();
-- EXECUTE VARIATION:
RESULT: ["abcdeghijklmnop", "abcdeghijklmnop"]
|