diff --git a/libsolidity/Types.cpp b/libsolidity/Types.cpp index 65acba844..bedd2e7b0 100644 --- a/libsolidity/Types.cpp +++ b/libsolidity/Types.cpp @@ -693,6 +693,8 @@ string ReferenceType::stringForReferencePart() const case Location::Memory: return "memory"; } + solAssert(false, ""); + return ""; } bool ArrayType::isImplicitlyConvertibleTo(const Type& _convertTo) const