mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Properly handle fixed-byte-like types.
This commit is contained in:
@@ -2537,6 +2537,7 @@ Type const& UserDefinedValueType::underlyingType() const
|
||||
{
|
||||
Type const* type = m_definition.underlyingType()->annotation().type;
|
||||
solAssert(type, "");
|
||||
solAssert(type->category() != Category::UserDefinedValueType, "");
|
||||
return *type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user