diff options
author | chriseth <chris@ethereum.org> | 2016-12-11 23:46:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-11 23:46:06 +0800 |
commit | d2b8bdd0163ba097e86bbce8d9770256bcda7a3b (patch) | |
tree | 823b740b0917f32640d5c3a79a1e75c631089464 /libsolidity/ast | |
parent | 4508f713247359b8f9cba4867c7c77c64a001807 (diff) | |
parent | 05139500fb44c1ff574756b3a5d10d46674c236d (diff) | |
download | dexon-solidity-d2b8bdd0163ba097e86bbce8d9770256bcda7a3b.tar.gz dexon-solidity-d2b8bdd0163ba097e86bbce8d9770256bcda7a3b.tar.zst dexon-solidity-d2b8bdd0163ba097e86bbce8d9770256bcda7a3b.zip |
Merge pull request #1464 from federicobond/warn-msgvalue
Warn about using msg.value in non-payable function
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index 72640a1c..26e2b8f2 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -1117,6 +1117,8 @@ public: virtual std::string toString(bool _short) const override; + Kind kind() const { return m_kind; } + private: Kind m_kind; }; |