Browse Source

Fix crash on auto return types (#1898)

Not sure if this is resolved properly
pull/1909/head
Jelle 5 months ago committed by GitHub
parent
commit
80bfc78fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      src/AST/ASTVisitor.cs

3
src/AST/ASTVisitor.cs

@ -432,7 +432,10 @@ namespace CppSharp.AST
return false; return false;
if (VisitOptions.VisitFunctionReturnType) if (VisitOptions.VisitFunctionReturnType)
{
if(property.Type != null) // Auto types return null types currently
property.Type.Visit(this); property.Type.Visit(this);
}
if (VisitOptions.VisitPropertyAccessors) if (VisitOptions.VisitPropertyAccessors)
{ {

Loading…
Cancel
Save