diff options
author | ZoOgY-DoOgY <zoogydoogy@free.fr> | 2018-01-24 20:38:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 20:38:47 +0800 |
commit | 4f753233f7b460504a007d94886ab34641ba86ca (patch) | |
tree | 9d7211edcd2b1c430b140c075a480b03ac2e3a8d /libevmasm | |
parent | b177352a874d878e1ae4a31098111086ac7164d2 (diff) | |
download | dexon-solidity-4f753233f7b460504a007d94886ab34641ba86ca.tar.gz dexon-solidity-4f753233f7b460504a007d94886ab34641ba86ca.tar.zst dexon-solidity-4f753233f7b460504a007d94886ab34641ba86ca.zip |
Inheritance, "super" and DDD
As explained in "Multiple Inheritance and Linearization" part, "a simple rule to remember is to specify the base classes in the order from “most base-like” to “most derived”". So "contract Final is Base1, Base2" means Final is derived from Base2, derived from Base1, so the final inheritance sequence should be, starting with the most derived contract : Final, Base2, Base1, mortal, owned.
Diffstat (limited to 'libevmasm')
0 files changed, 0 insertions, 0 deletions