1 // expected: too many arguments in call 2 // 3 // stage4 checked no call arity: f(1, 2) for a one-parameter function compiled 4 // and the extra argument was dropped. Legacy reports it through go/types. 5 package main 6 7 func f(a int32) {} 8 9 func main() { 10 f(1, 2) 11 } 12