1 package main 2 3 func wfn(f func()) { 4 f() 5 } 6 7 func main() { 8 spawn(wfn, func() { println("bad") }) // ERROR: function type 9 } 10