mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring yul source locations.
This commit is contained in:
@@ -84,7 +84,7 @@ Expression KnowledgeBase::simplify(Expression _expression)
|
||||
arg = simplify(arg);
|
||||
|
||||
if (auto match = SimplificationRules::findFirstMatch(_expression, m_dialect, m_variableValues))
|
||||
return simplify(match->action().toExpression(locationOf(_expression)));
|
||||
return simplify(match->action().toExpression(debugDataOf(_expression)));
|
||||
|
||||
return _expression;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user