clawchain/solar/tests/ui/overrides/shared_base.stderr

33 lines
1.5 KiB
Plaintext

error[6480]: derived contract must override function `set`
╭▸ ROOT/tests/ui/overrides/shared_base.sol:LL:CC
│
LL │ contract Bad1 is VirtualA, VirtualB {}
│ ━━━━
│
├ note: two or more base classes define function with same name and parameter types
╰ note: defined in: `VirtualA`, `VirtualB`
error[4327]: Function needs to specify overridden contracts `VirtualB`
╭▸ ROOT/tests/ui/overrides/shared_base.sol:LL:CC
│
LL │ function set() public override(VirtualA) { super.set(); }
╰╴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
error[4327]: Function needs to specify overridden contracts `ThreeWayC`
╭▸ ROOT/tests/ui/overrides/shared_base.sol:LL:CC
│
LL │ function f() public override(ThreeWayA, ThreeWayB) {}
╰╴ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
error[6480]: derived contract must override function `g`
╭▸ ROOT/tests/ui/overrides/shared_base.sol:LL:CC
│
LL │ contract Bad4 is DeepImplAA, DeepImplBB {}
│ ━━━━
│
├ note: two or more base classes define function with same name and parameter types
╰ note: defined in: `DeepImplA`, `DeepImplB`
error: aborting due to 4 previous errors