mirror of https://github.com/crytic/slither
Merge pull request #2153 from crytic/fix-inheritance-printer-rebase
Fix inheritance printer rebasepull/2473/head
commit
ee7023cfb9
@ -1,7 +1,21 @@ |
||||
import "./A.sol"; |
||||
|
||||
contract C is A { |
||||
interface MyInterfaceX { |
||||
function count() external view returns (uint256); |
||||
|
||||
function increment() external; |
||||
} |
||||
|
||||
contract C is A, MyInterfaceX { |
||||
function c_main() public pure { |
||||
a_main(); |
||||
} |
||||
|
||||
function count() external view override returns (uint256){ |
||||
return 1; |
||||
} |
||||
|
||||
function increment() external override { |
||||
|
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue