http://d.puremagic.com/issues/show_bug.cgi?id=8429
--- Comment #3 from [email protected] 2012-07-29 13:15:21 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5d3de87ebd8ead3ccf96647f25c5207ba1558105 fix Issue 8429 - [2.060 beta] 'version' rejected inside 'static if's This is a regression of fixing bug 7911. Introduced commit: e558866cdd8c26daf90942ee6dd89e814347911b StaticIfDeclaration::setScope speculatively distributes the scope to members, and ConditionalDeclaration::setScope evaluate its condition. So, the root cause is too early evaluation of the condition of version block which in static if. https://github.com/D-Programming-Language/dmd/commit/e8fe11c20249cb9e42538be88c99b74ede4d12e3 Merge pull request #1070 from 9rnsr/fix8429 Issue 8429 - [2.060 beta] 'version' rejected inside 'static if's -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
