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
pragma solidity>=0.5.0;
contractTest {
struct S {
int x;
}
S[] m_a;
function test() externalview {
S[] memory a;
a = m_a;
}
}
Gives
solc-verify.py Test.sol --output .
Error while running verifier, details:
Parsing ./Test.sol.bpl
./Test.sol.bpl(42,85): Error: right-hand side in map store with wrong type: struct_storage_S#4_arr_type (expected: address_struct_memory_S#4_arr_type)
1 type checking errors detected in ./Test.sol.bpl
It's not clear how we support this. More meaningful error message would be good.
The text was updated successfully, but these errors were encountered:
Gives
It's not clear how we support this. More meaningful error message would be good.
The text was updated successfully, but these errors were encountered: