mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow using calldata keyword to specify data location
This commit is contained in:
@@ -656,7 +656,7 @@ private:
|
||||
class VariableDeclaration: public Declaration
|
||||
{
|
||||
public:
|
||||
enum Location { Default, Storage, Memory };
|
||||
enum Location { Default, Storage, Memory, CallData };
|
||||
|
||||
VariableDeclaration(
|
||||
SourceLocation const& _sourceLocation,
|
||||
|
||||
Reference in New Issue
Block a user