Skip to content

Commit

Permalink
more switching to PASSsemanticdone
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Apr 24, 2017
1 parent 21b67f0 commit 6b946ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ddmd/staticassert.d
Expand Up @@ -48,6 +48,8 @@ extern (C++) final class StaticAssert : Dsymbol

override void semantic(Scope* sc)
{
if (semanticRun < PASSsemanticdone)
semanticRun = PASSsemanticdone;
}

override void semantic2(Scope* sc)
Expand Down

0 comments on commit 6b946ab

Please sign in to comment.