mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10033 from ethereum/develop
Merge develop into breaking
This commit is contained in:
@@ -3006,8 +3006,11 @@ TypePointers FunctionType::returnParameterTypesWithoutDynamicTypes() const
|
||||
m_kind == Kind::BareStaticCall
|
||||
)
|
||||
for (auto& param: returnParameterTypes)
|
||||
if (param->isDynamicallyEncoded() && !param->dataStoredIn(DataLocation::Storage))
|
||||
{
|
||||
solAssert(param->decodingType(), "");
|
||||
if (param->decodingType()->isDynamicallyEncoded())
|
||||
param = TypeProvider::inaccessibleDynamic();
|
||||
}
|
||||
|
||||
return returnParameterTypes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user