diff options
author | chriseth <chris@ethereum.org> | 2018-02-13 16:49:50 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-02-13 18:00:59 +0800 |
commit | 5916cf1e0ace5d9855af4d785c22c742cf106b8a (patch) | |
tree | 086046177d246cbdec3e8907445dff0e36bca24a /libsolidity/analysis/ViewPureChecker.h | |
parent | 729c6a95f8615586969e206b0b796011b3824adf (diff) | |
download | dexon-solidity-5916cf1e0ace5d9855af4d785c22c742cf106b8a.tar.gz dexon-solidity-5916cf1e0ace5d9855af4d785c22c742cf106b8a.tar.zst dexon-solidity-5916cf1e0ace5d9855af4d785c22c742cf106b8a.zip |
Allow `this.f.selector` to be pure.
Diffstat (limited to 'libsolidity/analysis/ViewPureChecker.h')
-rw-r--r-- | libsolidity/analysis/ViewPureChecker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/analysis/ViewPureChecker.h b/libsolidity/analysis/ViewPureChecker.h index fec060b6..0b882cd8 100644 --- a/libsolidity/analysis/ViewPureChecker.h +++ b/libsolidity/analysis/ViewPureChecker.h @@ -56,6 +56,7 @@ private: virtual bool visit(ModifierDefinition const& _modifierDef) override; virtual void endVisit(ModifierDefinition const& _modifierDef) override; virtual void endVisit(Identifier const& _identifier) override; + virtual bool visit(MemberAccess const& _memberAccess) override; virtual void endVisit(MemberAccess const& _memberAccess) override; virtual void endVisit(IndexAccess const& _indexAccess) override; virtual void endVisit(ModifierInvocation const& _modifier) override; |