clawchain/solar/tests/ui/resolve/override_specifier.stderr

17 lines
632 B
Plaintext

error[1750]: free functions cannot override
╭▸ ROOT/tests/ui/resolve/override_specifier.sol:LL:CC
│
LL │ function freeFunc() override(A) returns (uint) { return 42; }
╰╴ ━━━━━━━━━━━
error[2353]: invalid contract `B` specified in override list
╭▸ ROOT/tests/ui/resolve/override_specifier.sol:LL:CC
│
LL │ function foo() public override(A, B) returns (uint) { return 3; }
│ ━━━━━━━━━━━━━━
│
╰ note: contract is not a direct or indirect base
error: aborting due to 2 previous errors