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
foo(a: uint64) { assert(a[0]) let b = a b = [1,2,3] }
Will generate the following TEAL, which retroactively overwrites the value of the arg. I think this should be fixed when #176 is fixed.
// tests/contracts/general.algo.ts:102 // assert(a[0]) byte 0x000000000000000100000000000000020000000000000003 // a: uint64[] store 0 // full array load 0 // full array extract 0 8 btoi assert // tests/contracts/general.algo.ts:105 // b = [1, 2, 3] byte 0x000000000000000100000000000000020000000000000003 frame_bury -1 // b: uint64[] HERE retsub
The text was updated successfully, but these errors were encountered:
fix: let frame optimization #177 (and #176)
3c73ee0
Merge pull request #182 from algorand-devrel/fix/let_frame
ba14ab7
Successfully merging a pull request may close this issue.
Will generate the following TEAL, which retroactively overwrites the value of the arg. I think this should be fixed when #176 is fixed.
The text was updated successfully, but these errors were encountered: