Open monopolly opened 2 years ago
Thanks for reporting this. Just checking... If you name the function "Zool" does it still panic?
no no, it doest't matter whats the name of the function
if go function has a lazy slice param, wails have to understand it
There's a good chance we aren't handling varargs. If you get rid of the 3 dots, does it still panic?
no if I use simple []bool all is ok, just for lazy slices.
"lazy slices" I just call them that) ...some
At the very least we should have a better error message
my bet sorry)
I mean, we shouldn't panic, but show a better message 🤣
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Sorry guys, another issue) There is an issue about a go function's bind.
Here is a bind function
here is a simple js call - its the right call of go function
in Go I just ignore ...bool value but wails don't: panic: reflect: cannot use []bool as type bool in Call
To Reproduce
go
js
Expected behaviour
wails have to understand that bool is valid value for a go "...bool" slice
Screenshots
panic: reflect: cannot use []bool as type bool in Call
Attempted Fixes
No response
System Details
Additional context
No response