aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-06 20:45:31 +0800
committerGitHub <noreply@github.com>2018-08-06 20:45:31 +0800
commitbc73617f5ebc6d8f254b8e7faa630738c9967bd5 (patch)
treee59020b11b6bb90fa3b2e9d27177c484cd0549b8 /libsolidity/analysis
parent3481d4e2ec89cd3154ec3b5e41ccc7dec9b52688 (diff)
parent08e431f94e6f8fda05c6507e487dcbbf3c155aae (diff)
downloaddexon-solidity-bc73617f5ebc6d8f254b8e7faa630738c9967bd5.tar.gz
dexon-solidity-bc73617f5ebc6d8f254b8e7faa630738c9967bd5.tar.zst
dexon-solidity-bc73617f5ebc6d8f254b8e7faa630738c9967bd5.zip
Merge pull request #4689 from ethereum/cleanup-050-tests
Cleanup 0.5.0 test cases
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/ReferencesResolver.cpp2
-rw-r--r--libsolidity/analysis/ReferencesResolver.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp
index e058d917..ba793933 100644
--- a/libsolidity/analysis/ReferencesResolver.cpp
+++ b/libsolidity/analysis/ReferencesResolver.cpp
@@ -47,7 +47,6 @@ bool ReferencesResolver::visit(Block const& _block)
{
if (!m_resolveInsideCode)
return false;
- m_experimental050Mode = _block.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050);
m_resolver.setScope(&_block);
return true;
}
@@ -64,7 +63,6 @@ bool ReferencesResolver::visit(ForStatement const& _for)
{
if (!m_resolveInsideCode)
return false;
- m_experimental050Mode = _for.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050);
m_resolver.setScope(&_for);
return true;
}
diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h
index 4e8f54b5..24ec4643 100644
--- a/libsolidity/analysis/ReferencesResolver.h
+++ b/libsolidity/analysis/ReferencesResolver.h
@@ -94,7 +94,6 @@ private:
std::vector<ParameterList const*> m_returnParameters;
bool const m_resolveInsideCode;
bool m_errorOccurred = false;
- bool m_experimental050Mode = false;
};
}