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 calldata) internal pure {}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (30-35): Data location must be "storage" or "memory" for parameter in function, but "calldata" was given.
|
||||
// TypeError: (30-44): Data location must be "storage" or "memory" for parameter in function, but "calldata" was given.
|
||||
|
||||
Reference in New Issue
Block a user