Hi again, Sorry for my previous misunderstanding. Now I realized that there no ability in general to get the knowledge of how that slice of variadic arguments will be used inside hidden interface method implementation.
Also, is it correct to think about variadic arguments just like about regular slice built by compiler for us? I mean, does compiler translates this: ``` type DoerFunc func(...int) func caller(d DoerFunc) { d(1, 2, 3) } ``` To something similar: ``` type DoerFunc func([]int) func caller(d DoerFunc) { args := []int{1, 2, 3} d(args) } ``` Sergey. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.