github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/testdata/complit.ng (about)

     1  type T struct { F string }
     2  
     3  s1 := T{}.F
     4  s2 := T{F: "s2"}.F
     5  s3 := map[string]string{ "x": "y" }["x"]
     6  
     7  if s1 == "" && s2 == "s2" && s3 == "y" {
     8  	print("OK")
     9  }