111 lines
4.1 KiB
Plaintext
111 lines
4.1 KiB
Plaintext
error: constructor function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
│ ━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
╰╴ ━━━━━━━━━━━━━━━━
|
|
|
|
error: fallback function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: receive function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: constructor function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
│ ━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
╰╴ ━━━━━━━━━━━━━━━━
|
|
|
|
error: constructor function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
│ ━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ constructor() {}
|
|
╰╴ ━━━━━━━━━━━━━━━━
|
|
|
|
error: fallback function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: fallback function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ fallback() external {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: receive function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: receive function already declared
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
│ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
╰╴
|
|
note: previous declaration here
|
|
╭▸ ROOT/tests/ui/resolve/contract_special_functions.sol:LL:CC
|
|
│
|
|
LL │ receive() external payable {}
|
|
╰╴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
error: aborting due to 9 previous errors
|
|
|