github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/convert5.gno (about)

     1  package main
     2  
     3  func main() {
     4  	var ints []int
     5  	ints = append(ints, nil, nil)
     6  	println(ints)
     7  }
     8  
     9  // error: cannot convert (undefined) to int