mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove Scope::Label.
This commit is contained in:
@@ -123,10 +123,6 @@ bool AsmAnalyzer::operator()(Identifier const& _identifier)
|
||||
}
|
||||
++m_stackHeight;
|
||||
},
|
||||
[&](Scope::Label const&)
|
||||
{
|
||||
++m_stackHeight;
|
||||
},
|
||||
[&](Scope::Function const&)
|
||||
{
|
||||
m_errorReporter.typeError(
|
||||
@@ -293,14 +289,6 @@ bool AsmAnalyzer::operator()(FunctionCall const& _funCall)
|
||||
);
|
||||
success = false;
|
||||
},
|
||||
[&](Scope::Label const&)
|
||||
{
|
||||
m_errorReporter.typeError(
|
||||
_funCall.functionName.location,
|
||||
"Attempt to call label instead of function."
|
||||
);
|
||||
success = false;
|
||||
},
|
||||
[&](Scope::Function const& _fun)
|
||||
{
|
||||
/// TODO: compare types too
|
||||
|
||||
Reference in New Issue
Block a user