Browse Source

Fix ignored declaration checking to properties desugar field types.

pull/1316/merge
João Matos 6 years ago committed by João Matos
parent
commit
6d4e9408a0
  1. 2
      src/Generator/Passes/CheckIgnoredDecls.cs

2
src/Generator/Passes/CheckIgnoredDecls.cs

@ -100,7 +100,7 @@ namespace CppSharp.Passes @@ -100,7 +100,7 @@ namespace CppSharp.Passes
if (!VisitDeclaration(field))
return false;
var type = (field.Type.GetFinalPointee() ?? field.Type).Desugar();
var type = (field.Type.Desugar().GetFinalPointee() ?? field.Type).Desugar();
Declaration decl;
type.TryGetDeclaration(out decl);

Loading…
Cancel
Save