mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update libsolidity/codegen/YulUtilFunctions.cpp
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
parent
fa69eaf11b
commit
8267f0daaf
@ -2511,7 +2511,7 @@ string YulUtilFunctions::revertReasonIfDebugAssembly(RevertStrings _revertString
|
||||
revert(0, 0)
|
||||
</debugAndMessage>
|
||||
})");
|
||||
bool debugAndMessage = _revertStrings >= RevertStrings::Debug && !_message.empty();
|
||||
bool debugAndMessage = (_revertStrings >= RevertStrings::Debug && !_message.empty());
|
||||
templ("debugAndMessage", debugAndMessage);
|
||||
if (debugAndMessage)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user