mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix for ControlFlowBuilder
This commit is contained in:
parent
7fedb63dd3
commit
73d9146077
@ -75,7 +75,7 @@ bool ControlFlowBuilder::visit(BinaryOperation const& _operation)
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASTConstVisitor::visit(_operation);
|
bool result = ASTConstVisitor::visit(_operation);
|
||||||
if (_operation.annotation().userDefinedFunction)
|
if (_operation.annotation().userDefinedFunction)
|
||||||
{
|
{
|
||||||
solAssert(!m_currentNode->resolveFunctionCall(nullptr));
|
solAssert(!m_currentNode->resolveFunctionCall(nullptr));
|
||||||
@ -86,7 +86,7 @@ bool ControlFlowBuilder::visit(BinaryOperation const& _operation)
|
|||||||
connect(m_currentNode, nextNode);
|
connect(m_currentNode, nextNode);
|
||||||
m_currentNode = nextNode;
|
m_currentNode = nextNode;
|
||||||
}
|
}
|
||||||
return false;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user