fail_wrong_count.go raw

   1  package main
   2  
   3  func worker(x int32, y int32) {
   4  	println(x, y)
   5  }
   6  
   7  func main() {
   8  	spawn(worker, int32(1)) // ERROR: expects 2 arguments, got 1
   9  }
  10