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
contractTest {
function test1(uint256_value) privatereturns(uint256result) {
assembly {
{
function f1()
{
{
function f2()
{
function f3()
{
leave
function f4()
{
}
}
leave
}
}
if0x80000 { leave }
leave
f1()
}
}
}
}
function test2(uint256layout) publicreturns(uint8) {
assembly {
{
function f() -> v
{ }
switchf()
case1 { }
case2 { }
default { }
}
}
return0;
}
}
Output:
thread 'main' panicked at src/codegen/solana_accounts/account_collection.rs:224:29:
index out of bounds: the len is 4 but the index is 4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
Compile:
solang compile a.sol --target solana
Output:
The text was updated successfully, but these errors were encountered: