Skip to content

Commit

Permalink
a stale Scope is used to run RTInfo semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Apr 15, 2013
1 parent 911f788 commit e124f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/struct.c
Expand Up @@ -104,7 +104,7 @@ void AggregateDeclaration::semantic3(Scope *sc)
Dsymbol *s = (*members)[i];
s->semantic3(sc);
}
sc->pop();
sc = sc->pop();

if (!getRTInfo && Type::rtinfo &&
(!isDeprecated() || global.params.useDeprecated) && // don't do it for unused deprecated types
Expand Down

0 comments on commit e124f92

Please sign in to comment.