Anonymous struct initializer syntax
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user