Properly handle fixed-byte-like types.

This commit is contained in:
chriseth
2021-09-29 11:41:47 +02:00
parent 6109b5c3a1
commit da5c5928fe
4 changed files with 20 additions and 14 deletions
+1
View File
@@ -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;
}