Debian Codegraph @

lang/interpret_test/TestAstFunc2/struct-duplicate3.txtar

raw
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`