diff options
author | chriseth <chris@ethereum.org> | 2017-09-13 23:18:22 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-13 23:18:22 +0800 |
commit | 66c01301fe5cb71a2bf66af2f7170043f088815c (patch) | |
tree | 20a77eb55a2a1929b4056973a7a536dfb360e196 /libsolidity/analysis/ViewPureChecker.cpp | |
parent | b756274357c1e33517d535fdd2349a88221d4780 (diff) | |
download | dexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.tar.gz dexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.tar.zst dexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.zip |
Rename to invalidInPureFunctions
Diffstat (limited to 'libsolidity/analysis/ViewPureChecker.cpp')
-rw-r--r-- | libsolidity/analysis/ViewPureChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/ViewPureChecker.cpp b/libsolidity/analysis/ViewPureChecker.cpp index d4a6e96f..40ad6828 100644 --- a/libsolidity/analysis/ViewPureChecker.cpp +++ b/libsolidity/analysis/ViewPureChecker.cpp @@ -41,7 +41,7 @@ public: { if (eth::SemanticInformation::invalidInViewFunctions(_instruction.instruction)) m_reportMutability(StateMutability::NonPayable, _instruction.location); - else if (eth::SemanticInformation::readsFromState(_instruction.instruction)) + else if (eth::SemanticInformation::invalidInPureFunctions(_instruction.instruction)) m_reportMutability(StateMutability::View, _instruction.location); } void operator()(assembly::Literal const&) {} |