aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-20 20:30:00 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-25 20:59:39 +0800
commit011d95e7e348908b1027dea922a429517cdebf07 (patch)
tree01dbc166bc693e56a23e0d9bf7f83b7652483690 /Types.cpp
parent60204d593e48d2f4395a34c3e7bb010d4f40e513 (diff)
downloaddexon-solidity-011d95e7e348908b1027dea922a429517cdebf07.tar.gz
dexon-solidity-011d95e7e348908b1027dea922a429517cdebf07.tar.zst
dexon-solidity-011d95e7e348908b1027dea922a429517cdebf07.zip
- added externalType to BooleanType.
- fixed the error message
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.cpp b/Types.cpp
index 6fe8a641..82c28a39 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -749,7 +749,9 @@ TypePointer ArrayType::externalType() const
if (m_isByteArray)
return shared_from_this();
if (!(m_baseType->externalType()))
+ {
return TypePointer();
+ }
if (dynamic_cast<ArrayType const*>(m_baseType.get()) && m_baseType->isDynamicallySized())
return TypePointer();