mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update test to correct source location for nameless parameters
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@ library test {
|
||||
function f(bytes memory) external;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (30-35): Data location must be "storage" or "calldata" for parameter in external function, but "memory" was given.
|
||||
// TypeError: (30-42): Data location must be "storage" or "calldata" for parameter in external function, but "memory" was given.
|
||||
|
||||
Reference in New Issue
Block a user