mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Support named arguments in function calls
This commit is contained in:
@@ -20,6 +20,8 @@ contract C {
|
||||
return f({b: 1, a: 2});
|
||||
if (num == 3)
|
||||
return f({c: 1, a: 2, b: 3});
|
||||
if (num == 4)
|
||||
return f({b: 5, c: 1, a: 2});
|
||||
|
||||
return 500;
|
||||
}
|
||||
@@ -31,4 +33,5 @@ contract C {
|
||||
// call(uint256): 1 -> 1
|
||||
// call(uint256): 2 -> 3
|
||||
// call(uint256): 3 -> 6
|
||||
// call(uint256): 4 -> 500
|
||||
// call(uint256): 4 -> 8
|
||||
// call(uint256): 5 -> 500
|
||||
|
||||
Reference in New Issue
Block a user