-
Notifications
You must be signed in to change notification settings - Fork 79
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
Fix ty() for reference #273
Comments
Daniel-Bloom-dfinity
added a commit
to Daniel-Bloom-dfinity/agent-rs
that referenced
this issue
Mar 17, 2022
With a little elbow grease we can even get around `Func`'s limitations. We use `Type::Empty` because args subtype in the opposite direction.
ericswanson-dfinity
pushed a commit
to dfinity/agent-rs
that referenced
this issue
Mar 17, 2022
* fix: workaround for dfinity/candid#273 With a little elbow grease we can even get around `Func`'s limitations. We use `Type::Empty` because args subtype in the opposite direction.
This was referenced May 11, 2022
Any ETA on this? I'm about to embark on implementing this generally in Azle and wondering if this might come out soon. |
60 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current design of
Func
andService
cannot produce correct implementation ofty()
, because you cannot decide the type forFunc::ty()
.ty()
for references is only defined at the value level, not at the type level.Two possible solutions:
The text was updated successfully, but these errors were encountered: