Skip to content

Commit

Permalink
Merge pull request #3311 from yebblies/codegencomment
Browse files Browse the repository at this point in the history
[DDMD] Move another comment out of an if condition
  • Loading branch information
9rnsr committed Feb 21, 2014
2 parents b5a1a97 + a1a14fb commit ffc1d56
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/func.c
Original file line number Diff line number Diff line change
Expand Up @@ -4008,14 +4008,15 @@ bool FuncDeclaration::needsCodegen()
break;
}

/* The issue is that if the importee is compiled with a different -debug
* setting than the importer, the importer may believe it exists
* in the compiled importee when it does not, when the instantiation
* is behind a conditional debug declaration.
*/
// workaround for Bugzilla 11239
if (global.params.useUnitTests ||
global.params.allInst ||
/* The issue is that if the importee is compiled with a different -debug
* setting than the importer, the importer may believe it exists
* in the compiled importee when it does not, when the instantiation
* is behind a conditional debug declaration.
*/
global.params.debuglevel) // workaround for Bugzilla 11239
global.params.debuglevel)
{
return true;
}
Expand Down

0 comments on commit ffc1d56

Please sign in to comment.