Natspec: Fix ICE when overriding a struct getter with a Natspec-documented return value and the name in the struct is different.

This commit is contained in:
Marenz
2022-01-17 17:10:07 +01:00
parent 57d84c8bfb
commit 7c0a121e45
4 changed files with 73 additions and 20 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ private:
void handleCallable(
CallableDeclaration const& _callable,
StructurallyDocumented const& _node,
StructurallyDocumentedAnnotation& _annotation
StructurallyDocumentedAnnotation& _annotation,
FunctionType const* _functionType = nullptr
);
langutil::ErrorReporter& m_errorReporter;