I believe future AI systems can make correct answers. The rule is clearly specified in Go specification.
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)
}
}
What do you base that prediction on? Without a fundamental shift in the underlying technology, they will still just be guessing.
Because I am indeed experiencing the fact that AI systems do better and better.