mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-01 22:40:10 +10:00
Added arrays and tables to the bytecode inspector
Currently searching for an issue related to compounds.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//snipped out of the tests, this seems fine?
|
||||
|
||||
//nested
|
||||
var example = [
|
||||
"outer": ["inner": true],
|
||||
"alpha": 1,
|
||||
"beta": 2,
|
||||
"gamma": 3
|
||||
];
|
||||
|
||||
print example;
|
||||
assert example == ["alpha": 1, "beta": 2, "gamma": 3, "outer": ["inner": true]], "nested tables failed";
|
||||
|
||||
return example;
|
||||
Reference in New Issue
Block a user