You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! When I tried to compile the following code using solang, I encountered an error that caused the compiler to crash.
contractTest {
uint8constant A =0;a
function test(stringmemorystr) publicreturns(uint8) {
assembly {
for { let b :=0 } lt(b, 0x60) { b :=add(b, 0x20) } { continue }
}
return A;
}
}
thread 'main' panicked at src/codegen/dead_storage.rs:370:16:
index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I didn't add any special compilation parameters. My compilation command was solang compile a.sol --target solana. The version of solang I used is v0.3.3.
The text was updated successfully, but these errors were encountered:
Hello! When I tried to compile the following code using solang, I encountered an error that caused the compiler to crash.
I didn't add any special compilation parameters. My compilation command was
solang compile a.sol --target solana
. The version of solang I used isv0.3.3
.The text was updated successfully, but these errors were encountered: