Browse Source

If a declaration has a reference to a complete version of itself, then return the declaration as complete.

pull/1/head
triton 13 years ago
parent
commit
8e3a3b198f
  1. 3
      src/Generator/Types/Types.cs

3
src/Generator/Types/Types.cs

@ -11,6 +11,9 @@ namespace Cxxi
{ {
public override bool VisitDeclaration(Declaration decl) public override bool VisitDeclaration(Declaration decl)
{ {
if (decl.CompleteDeclaration != null)
return true;
return !decl.IsIncomplete; return !decl.IsIncomplete;
} }

Loading…
Cancel
Save