-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
stdlib Vec
#1118
stdlib Vec
#1118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh just noticed this is a draft! Leaving the comment anyway just in case
Co-authored-by: mitchmindtree <mitchell.nordine@fuel.sh>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just nitpicks
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/vec/json_abi_oracle.json
Show resolved
Hide resolved
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/vec/src/main.sw
Outdated
Show resolved
Hide resolved
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/vec/src/main.sw
Outdated
Show resolved
Hide resolved
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/vec/src/main.sw
Outdated
Show resolved
Hide resolved
test/src/e2e_vm_tests/test_programs/should_pass/stdlib/vec/src/main.sw
Outdated
Show resolved
Hide resolved
Co-authored-by: Braqzen <103777923+Braqzen@users.noreply.github.com>
Co-authored-by: Braqzen <103777923+Braqzen@users.noreply.github.com>
…/main.sw Co-authored-by: Braqzen <103777923+Braqzen@users.noreply.github.com>
…/main.sw Co-authored-by: Braqzen <103777923+Braqzen@users.noreply.github.com>
Blocked by #2013. @mohammadfawaz maybe re-target this PR on top of #2013? Or just wait I guess, since it's already approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but can't approve since I'm the OP. @AlicanC's memory functions are a beauty. Can't believe this is now implementable without a single line of asm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tests give me much faith
I will wait for @otrho to also take a look as the current code owner of the standard library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Fixes #1077
Based on #82
Blocked by:
is_reference_type::<T>()
builtin. #1121self
to be mutable #1956