aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ViewPureChecker.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-14 23:53:43 +0800
committerchriseth <chris@ethereum.org>2017-09-14 23:53:43 +0800
commit24fd67b7db26f44ddc6b6db0b6f685d887762df0 (patch)
tree3982eca046948d719e4dd824aa82b3573db2a244 /libsolidity/analysis/ViewPureChecker.h
parent1c85ba10e13879f680579031234c911099433596 (diff)
downloaddexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar.gz
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar.bz2
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar.lz
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar.xz
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.tar.zst
dexon-solidity-24fd67b7db26f44ddc6b6db0b6f685d887762df0.zip
Enforce view with error for experimental 0.5.0.
Diffstat (limited to 'libsolidity/analysis/ViewPureChecker.h')
-rw-r--r--libsolidity/analysis/ViewPureChecker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/analysis/ViewPureChecker.h b/libsolidity/analysis/ViewPureChecker.h
index ae303533..fec060b6 100644
--- a/libsolidity/analysis/ViewPureChecker.h
+++ b/libsolidity/analysis/ViewPureChecker.h
@@ -70,6 +70,7 @@ private:
ErrorReporter& m_errorReporter;
bool m_errors = false;
+ bool m_enforceViewWithError = false;
StateMutability m_currentBestMutability = StateMutability::Payable;
FunctionDefinition const* m_currentFunction = nullptr;
std::map<ModifierDefinition const*, StateMutability> m_inferredMutability;