mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed string inside struct allocation bug.
This commit is contained in:
1 parent
588e4232eb
commit
68f1da1e3a
6 files changed
+8
-14
No files matched your search
@@ -1226,7 +1226,7 @@ void ExpressionCompiler::appendExternalFunctionCall(
|
||||
else
|
||||
for (auto const& retType: _functionType.returnParameterTypes())
|
||||
{
|
||||
solAssert(retType->calldataEncodedSize() > 0, "Unable to return dynamic type from external call.");
|
||||
solAssert(!retType->isDynamicallySized(), "Unable to return dynamic type from external call.");
|
||||
retSize += retType->calldataEncodedSize();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user