-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support fuction reflect for wasm #575
Comments
We do not currently support using reflection for function calls. This should eventually be supported, but this is one of the more complex pieces of functionality in reflect and nobody has quite gotten around to it. It is possible that this could be implemented by having the compiler generate wrappers. |
Thanks Jaden. We will give your suggestion a try. |
I got the following errors while compiling. Does it relate to this issue?
|
No that is a seperate issue - reflect is incomplete and anything relying on complex functionality is unlikely to work yet |
I met the same problem |
Since the issue from #907 was solved differently can this issue now be closed? |
WASI (and tinygo in general) now supports reflection. |
@dgryski I don't think this is actually fixed: the bug is about |
Oh good point. I was responding to the second issue about |
This is part of the |
It's not actually fixed yet in 0.28, function calls in reflect are not yet supported. |
Any updated plans to support |
Is there any movement on this? This is something I'd really love to use. |
Hi there,
We are trying to implement function reflect for wasm target. It seems wasm has some limitations stopping us to do so. Do you guys have any thoughts on this topic? Or is this an impossible mission?
BR,
Terry
By fucntion reflect, I mean code like below:
The text was updated successfully, but these errors were encountered: