mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
279 B
Solidity
10 lines
279 B
Solidity
|
contract C {
|
||
|
function f() pure public {
|
||
|
function(uint a) returns (uint) x;
|
||
|
x({a:2});
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning 6162: (61-67): Naming function type parameters is deprecated.
|
||
|
// TypeError 4974: (95-103): Named argument "a" does not match function declaration.
|