aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-03-27 22:15:34 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-03-27 22:15:34 +0800
commit85bb056993ccb111b7e32e28475b906f75b77aa6 (patch)
treee401f72dd8d2ee621b2908bc24f1428687e6c16e /AST.h
parenta7e78fadf5d8fd4d1d4300a4d8064d9bf51af687 (diff)
downloaddexon-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/AST.h b/AST.h
index c1da90cd..8570e7bd 100644
--- a/AST.h
+++ b/AST.h
@@ -283,6 +283,7 @@ public:
private:
void checkIllegalOverrides() const;
+ void checkAbstractFunctions();
std::vector<std::pair<FixedHash<4>, FunctionTypePointer>> const& getInterfaceFunctionList() const;