mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
uint[] data;
|
||||
function test() public {
|
||||
data.pop(5);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (65-76): Wrong argument count for function call: 1 arguments given but expected 0.
|
||||
Reference in New Issue
Block a user