BTW, I haven't found an AI system can get the correct output for the following Go code:
package main import "fmt" func main() { for counter, n := 0, 2; n >= 0; n-- { defer func(v int) { fmt.Print("#", counter, ": ", v, "\n") counter++ }(n) } }
BTW, I haven't found an AI system can get the correct output for the following Go code: