2019-11-10 17:58:29 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
|
|
function f(function(uint) external payable g) internal {
|
|
|
|
g.selector;
|
|
|
|
g.gas(2).value(3)(4);
|
2020-03-03 11:15:59 +00:00
|
|
|
g{gas: 2, value: 3}(4);
|
2019-11-10 17:58:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-03-03 11:15:59 +00:00
|
|
|
// Warning: (122-127): Using ".gas(...)" is deprecated. Use "{gas: ...}" instead.
|
|
|
|
// Warning: (122-136): Using ".value(...)" is deprecated. Use "{value: ...}" instead.
|
2019-11-10 17:58:29 +00:00
|
|
|
// Warning: (108-118): Assertion checker does not yet support this expression.
|
|
|
|
// Warning: (122-130): Assertion checker does not yet implement this type of function call.
|
|
|
|
// Warning: (122-139): Assertion checker does not yet implement this type of function call.
|