clawchain/solar/tests/ui/parser/payable_fallback_without_receive.stderr

19 lines
683 B
Plaintext

warning[3628]: contract has a payable fallback function, but no receive ether function
╭▸ ROOT/tests/ui/parser/payable_fallback_without_receive.sol:LL:CC
│
LL │ contract P1 {
│ ━━
LL │
LL │ fallback() external payable {}
╰╴ ──────── help: consider changing to: `receive`
warning[3628]: contract has a payable fallback function, but no receive ether function
╭▸ ROOT/tests/ui/parser/payable_fallback_without_receive.sol:LL:CC
│
LL │ fallback() external payable {}
│ ──────── help: consider changing to: `receive`
‡
LL │ contract P4 is P1 {}
╰╴ ━━