We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$if T is $address
Verify if generic is pointer
insert or write value from pointer
a := 5 b := &a mut expected := false $if b is $pointer { expected = true } $else { expected = false } assert expected
mut a := 5 mut b := &a mut c := &b fn insert_value_in_pointer[T](mut pointer T) { $if b is $pointer { insert_value_in_pointer(*pointer) } $else { pointer = 10 } } insert_value_in_pointer(c) assert a == 10
No response
latest
all
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
Huly®: V_0.6-21238
The text was updated successfully, but these errors were encountered:
typeof(var).indirections
T.indirections
felipensp
No branches or pull requests
Describe the feature
Verify if generic is pointer
Use Case
insert or write value from pointer
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
latest
Environment details (OS name and version, etc.)
all
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Huly®: V_0.6-21238
The text was updated successfully, but these errors were encountered: