diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-27 22:15:34 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-27 22:15:34 +0800 |
commit | 85bb056993ccb111b7e32e28475b906f75b77aa6 (patch) | |
tree | e401f72dd8d2ee621b2908bc24f1428687e6c16e /AST.h | |
parent | a7e78fadf5d8fd4d1d4300a4d8064d9bf51af687 (diff) | |
download | dexon-solidity-85bb056993ccb111b7e32e28475b906f75b77aa6.tar.gz dexon-solidity-85bb056993ccb111b7e32e28475b906f75b77aa6.tar.zst dexon-solidity-85bb056993ccb111b7e32e28475b906f75b77aa6.zip |
Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
handle their existence appropriately
- If a contract is abstract it can't be created with new
- An abstract contract is not compiled (no backend code is generated)
- Of course tests
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -283,6 +283,7 @@ public: private: void checkIllegalOverrides() const; + void checkAbstractFunctions(); std::vector<std::pair<FixedHash<4>, FunctionTypePointer>> const& getInterfaceFunctionList() const; |