gota - reflect: Call with too few input arguments
snassr opened this issue · 2 comments
snassr commented
cosmos72 commented
Thanks for the report.
I reproduced it, it's a bug.
It happens on all one-argument calls to variadic functions that expect one mandatory argument plus optional ones. Example:
import "fmt"
fmt.Printf("foo")
If you add more arguments, it works.
About the reflect package: support is as good as possible, and only limited by the fact that pure Go programs have no way to declare new named types and interface types at runtime: currently, only the compiler can do that.