mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Decode dynamic data.
This commit is contained in:
committed by
Alex Beregszaszi
parent
cc2f71e4ac
commit
c2709a2d8e
@@ -3372,6 +3372,11 @@ BOOST_AUTO_TEST_CASE(dynamic_return_types_not_possible)
|
||||
}
|
||||
}
|
||||
)";
|
||||
m_compiler.setEVMVersion(EVMVersion{});
|
||||
CHECK_WARNING(sourceCode, "Use of the \"var\" keyword is deprecated");
|
||||
m_compiler.setEVMVersion(*EVMVersion::fromString("byzantium"));
|
||||
CHECK_WARNING(sourceCode, "Use of the \"var\" keyword is deprecated");
|
||||
m_compiler.setEVMVersion(*EVMVersion::fromString("homestead"));
|
||||
CHECK_ERROR(sourceCode, TypeError, "Explicit type conversion not allowed from \"inaccessible dynamic type\" to \"bytes storage pointer\".");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user