mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reverse order of inheritance in base list.
This commit is contained in:
@@ -386,7 +386,7 @@ BOOST_AUTO_TEST_CASE(inheritance_diamond_basic)
|
||||
contract root { function rootFunction() {} }
|
||||
contract inter1 is root { function f() {} }
|
||||
contract inter2 is root { function f() {} }
|
||||
contract derived is inter1, inter2, root {
|
||||
contract derived is root, inter2, inter1 {
|
||||
function g() { f(); rootFunction(); }
|
||||
}
|
||||
)";
|
||||
|
||||
Reference in New Issue
Block a user