Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gnovm): don't treat
[]byte("xxx")
as a constant expression (gno…
…lang#1597) this is a fix to gnolang#1570 . The underlying issue in gnolang#1570 stems from how []byte("xxx") is handled: it's treated as a constant, yet its value can still be altered. This mutability leads to unintended persistence of its state across loop iterations. The proposed resolution involves modifying the preprocessing stage to avoid converting an untyped string directly into a []byte type.
- Loading branch information