http://d.puremagic.com/issues/show_bug.cgi?id=7868
--- Comment #5 from klickverbot <c...@klickverbot.at> 2012-04-09 02:37:16 PDT --- Sorry for the duplicate comments. I reopened the bug because I think it is a genuine regression: It's not like B!This could not be instantiated at all; if you hoist �B!This b;� out of the conditional, the above snippet compiles fine (also illustrated by the is() expressions in the msg pragmas returning true). Only from the exp of a StaticIfCondition, instantiation fails, which is very inconsistent and bug-prone behavior. Also, I'd like to note that this has worked in a stable fashion for a number of DMD releases now (it has been in the Thrift code since the beginning of last summer's GSoC), so if you decide that an instantiation outside the exp of a StaticIfCondition should not compile either, please consider mentioning this as a breaking change in the release notes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------