Skip to content
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

u128 declaration #19

Open
bowenwang1996 opened this issue Jun 19, 2019 · 1 comment
Open

u128 declaration #19

bowenwang1996 opened this issue Jun 19, 2019 · 1 comment
Labels
dependency blocker This doesn't seem right

Comments

@bowenwang1996
Copy link
Contributor

It would be nice if it is possible to do

u128Val: u128 = 1;

but currently this causes the following error

ERROR AS200: Conversion from type 'i32' to 'bignum/integer/u128/u128' requires an explicit cast.
@MaxGraey
Copy link
Owner

Currently custom type casting not possible in AssemblyScript unfortunately. But you could open issue in AS repo and request such feature)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency blocker This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants