You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does 'go version' print?
go version devel +8bd9a77feba7 Tue Mar 11 16:20:57 2014 +0900 linux/386
What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.
This is a regression, the current build on the playground rearranges
the variadic arguments correctly.
http://play.golang.org/p/1EjzxFPszJ
func main() {
ft := reflect.TypeOf(func(...int){})
fn := reflect.MakeFunc(ft, func(in []reflect.Value) []reflect.Value {
fmt.Printf("%v\n", in)
return nil
})
fn.Call([]reflect.Value{reflect.ValueOf(1), reflect.ValueOf(2)})
}
What happened?
Arguments are received as [<int Value>, <int Value>]
What should have happened instead?
[<[]int Value>]
The text was updated successfully, but these errors were encountered:
by carlchatfield:
The text was updated successfully, but these errors were encountered: