aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-11-16 17:32:51 +0800
committerGitHub <noreply@github.com>2017-11-16 17:32:51 +0800
commit0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78 (patch)
tree79116e0b212e4a257a4a4c59d9bafdc0eca97800 /libsolidity/codegen/CompilerUtils.cpp
parentf2e9dea5e7662d46702a200e66f554d40a1821e0 (diff)
parentc1e202618c60ffd09f12394da56da74120f2a656 (diff)
downloaddexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar.gz
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar.bz2
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar.lz
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar.xz
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.tar.zst
dexon-solidity-0c1fc594efaf9d5768cd6dbc273a555ecd4bdd78.zip
Merge pull request #3209 from ethereum/unimplemented-msgs
Add explanation to unimplemented assertions
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.cpp')
-rw-r--r--libsolidity/codegen/CompilerUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp
index f9b181ae..053bed6a 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -121,7 +121,7 @@ void CompilerUtils::storeInMemoryDynamic(Type const& _type, bool _padToWordBound
{
if (auto ref = dynamic_cast<ReferenceType const*>(&_type))
{
- solUnimplementedAssert(ref->location() == DataLocation::Memory, "");
+ solUnimplementedAssert(ref->location() == DataLocation::Memory, "Only in-memory reference type can be stored.");
storeInMemoryDynamic(IntegerType(256), _padToWordBoundaries);
}
else if (auto str = dynamic_cast<StringLiteralType const*>(&_type))