Skip to content

Commit

Permalink
Fix backport of Issue 15726 - forward reference error for circular cl…
Browse files Browse the repository at this point in the history
…asses
  • Loading branch information
ibuclaw committed Oct 16, 2017
1 parent e5f96e0 commit 7e9205d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dstruct.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,10 +1235,6 @@ void StructDeclaration::finalizeSize()
//printf("StructDeclaration::finalizeSize() %s, sizeok = %d\n", toChars(), sizeok);
assert(sizeok != SIZEOKdone);


Module::dprogress++;
semanticRun = PASSsemanticdone;

//printf("+StructDeclaration::finalizeSize() %s, fields.dim = %d, sizeok = %d\n", toChars(), fields.dim, sizeok);

fields.setDim(0); // workaround
Expand Down

0 comments on commit 7e9205d

Please sign in to comment.