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
It's impossible currently to call a Go function and use nil as an argument, even if the argument to the function in Go takes any or a pointer as an argument (so places where a nil should be accepted grammatically).
For example, this gives the error panic: reflect: Call using zero Value argument:
I think A has to implement object.Module to be able to use it as you do. Look inside the modules directory how the existing modules expose their methods to get a better idea how to write your own modules.
It's impossible currently to call a Go function and use
nil
as an argument, even if the argument to the function in Go takesany
or a pointer as an argument (so places where a nil should be accepted grammatically).For example, this gives the error
panic: reflect: Call using zero Value argument
:The text was updated successfully, but these errors were encountered: