mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 00:28:05 +00:00
Test: Nested object parsing
This commit is contained in:
9
test/src/nested_object.hi
Normal file
9
test/src/nested_object.hi
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Nested object should parse recursively
|
||||||
|
cfg: {
|
||||||
|
inner: {
|
||||||
|
x: 2
|
||||||
|
y: 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_(cfg.inner.x + cfg.inner.y)
|
||||||
Reference in New Issue
Block a user