☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
struct-duplicate3.txtar
☽
☼
lang/interpret_test/TestAstFunc2/struct-duplicate3.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
$st struct{x str} = struct{x => "hello", x => "world",}
3
$name = $st->x
4
test "${name}" {}
5
-- OUTPUT --
6
# err: errInit: duplicate struct field name of: `x`