pgen: discover types for composite literals.

This commit is contained in:
gmp
2018-08-04 15:41:34 -04:00
parent 0d662564aa
commit 100f65f83a
2 changed files with 14 additions and 4 deletions
+2
View File
@@ -34,6 +34,8 @@ func main() {
y6 := make(map[persist.Var]gtoken.FileSet)
y6p := persistM6("y6",y6)
y6 = y6p.Get()
y7p := persistIntArray("y7",[]int{1,2,3})
_ = y7p
z := func(interface{}) {
_ = persistFloat("y7",1.0)