Remove unused 050 variable in ReferencesResolver

This commit is contained in:
Alex Beregszaszi 2018-08-06 11:48:48 +01:00
parent 2ab66bf798
commit 08e431f94e
2 changed files with 0 additions and 3 deletions

View File

@ -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;
}

View File

@ -94,7 +94,6 @@ private:
std::vector<ParameterList const*> m_returnParameters;
bool const m_resolveInsideCode;
bool m_errorOccurred = false;
bool m_experimental050Mode = false;
};
}