Update libsolidity/codegen/YulUtilFunctions.cpp

Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
Đorđe Mijović 2020-06-15 20:24:17 +02:00 committed by GitHub
parent fa69eaf11b
commit 8267f0daaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{