diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-12-03 08:21:29 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-12 00:57:15 +0800 |
commit | 4a11200a272278383a003262361d865689d1c87b (patch) | |
tree | 8aedd66cb02e57e11a60f74dd4dfdc75b76b446b /libsolidity | |
parent | b93589b3b62ca12fe5446d7caed0c0964158cd6e (diff) | |
download | dexon-solidity-4a11200a272278383a003262361d865689d1c87b.tar.gz dexon-solidity-4a11200a272278383a003262361d865689d1c87b.tar.zst dexon-solidity-4a11200a272278383a003262361d865689d1c87b.zip |
Better assert message for appendInlineAssembnly
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/codegen/CompilerContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp index 2de5a3ec..3a70e523 100644 --- a/libsolidity/codegen/CompilerContext.cpp +++ b/libsolidity/codegen/CompilerContext.cpp @@ -217,7 +217,7 @@ void CompilerContext::appendInlineAssembly( return true; }; - solAssert(assembly::InlineAssemblyStack().parseAndAssemble(*assembly, *m_asm, identifierAccess), ""); + solAssert(assembly::InlineAssemblyStack().parseAndAssemble(*assembly, *m_asm, identifierAccess), "Failed to assemble inline assembly block."); } FunctionDefinition const& CompilerContext::resolveVirtualFunction( |