solidity/test/libsolidity/syntaxTests/parsing/missing_argument_in_named_args.sol

7 lines
228 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract test {
function a(uint a, uint b, uint c) returns (uint r) { r = a * 100 + b * 10 + c * 1; }
function b() returns (uint r) { r = a({a: , b: , c: }); }
}
// ----
2018-05-09 11:15:27 +00:00
// ParserError: (146-147): Expected primary expression.