Open acoglio opened 3 years ago
As a heads up, a lot of work for casting was done by @Protryon already. Not sure what is or isn't missing.
Yes. I referenced @Protryon's proposal issue #600 in the first item. I also looked for some PRs, but didn't see any. @Protryon, is there some implementation code already?
There are cast code in the parser all the way to the compiler. So it seems to be pretty feature complete. We may need to update it to deal with the new type char
, though.
Nice! So it shouldn't take long to check this one off.
Moving this feature to a future sprint. Will be marking as low priority for now.
now cast can work?https://github.com/AleoHQ/leo/pull/2426
Certain cast operations are supported.
Currently only between groups
, addresses
, and fields
(can downcast to smaller types).
Other operations still need to be supported by snarkVM.