mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add abi.decode(bytes data, (...))
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// This restriction might be lifted in the future
|
||||
contract C {
|
||||
function f() public pure {
|
||||
abi.decode("abc", (bytes calldata));
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (121-129): Expected ',' but got 'calldata'
|
||||
Reference in New Issue
Block a user