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

39 lines
1.2 KiB
Plaintext

error: declaration `does_not_exist` not found in ROOT/tests/ui/resolve/bad_inheritance.sol
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ import {does_not_exist} from "./bad_inheritance.sol";
╰╴ ━━━━━━━━━━━━━━
error: contracts cannot inherit from themselves
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ contract C is C {}
╰╴ ━
error: contracts cannot inherit from themselves
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ contract D is self1.D {}
╰╴ ━━━━━━━
error: contracts cannot inherit from themselves
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ contract E is self2.E {}
╰╴ ━━━━━━━
error: expected contract, found namespace
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ contract F is self1 {}
╰╴ ━━━━━
error: expected contract, found namespace
╭▸ ROOT/tests/ui/resolve/bad_inheritance.sol:LL:CC
│
LL │ contract G is self2 {}
╰╴ ━━━━━
error: aborting due to 6 previous errors