aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-20 08:09:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-20 20:25:28 +0800
commit0e33b6346802581cfcc45195344a705ebd683c1f (patch)
tree1b8dc38390ade1d1cfec5ee181befe64037de9bf /libsolidity
parentc3330faf210ee06464dbc71a7946e069033299ac (diff)
downloaddexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.tar.gz
dexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.tar.zst
dexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.zip
Allow warnings for inline assembly block
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/codegen/ContractCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp
index 18b42fce..ebb84784 100644
--- a/libsolidity/codegen/ContractCompiler.cpp
+++ b/libsolidity/codegen/ContractCompiler.cpp
@@ -575,7 +575,7 @@ bool ContractCompiler::visit(InlineAssembly const& _inlineAssembly)
return true;
}
);
- solAssert(errors.empty(), "Code generation for inline assembly with errors requested.");
+ solAssert(Error::containsOnlyWarnings(errors), "Code generation for inline assembly with errors requested.");
m_context.setStackOffset(startStackHeight);
return false;
}