gopherdata/gophernotes

gota - reflect: Call with too few input arguments

snassr opened this issue · 2 comments

  • Use of "github.com/kniren/gota/dataframe" results in reflect: Call with too few input arguments
  • The below image is from a desktop install.
    image
  • On a docker install (gopher-ds) a different yet similar error appears:
    image

Does this have to do with reflect not being fully supported?

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.

fixed in 9a9ff36, please reopen if it still fails for you (reporting the new error)