mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Consider non-external functions not left-aligned.
This commit is contained in:
@@ -3072,10 +3072,7 @@ u256 FunctionType::storageSize() const
|
||||
|
||||
bool FunctionType::leftAligned() const
|
||||
{
|
||||
if (m_kind == Kind::External)
|
||||
return true;
|
||||
else
|
||||
solAssert(false, "Alignment property of non-exportable function type requested.");
|
||||
return m_kind == Kind::External;
|
||||
}
|
||||
|
||||
unsigned FunctionType::storageBytes() const
|
||||
|
||||
Reference in New Issue
Block a user