Anonymous struct initializer syntax

This commit is contained in:
nub31
2025-09-09 16:53:06 +02:00
parent 5c3551fd8c
commit ce999e4c1b
2 changed files with 11 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ struct Human
func main(args: []cstring): i64
{
let x: Human = struct {
name = struct {
let x: Human = {
name = {
first = "bob"
last = "the builder"
}