On Thu, May 7, 2009 at 1:38 PM, bearophile <bearophileh...@lycos.com> wrote:
> The following doesn't work, the pragma isn't seen as an instruction, I guess > this is normal, but I don't like it much: > > static if (true) > pragma(msg, "true"); > else > pragma(msg, "false"); Funny, I just ran into that today too. If you add braces, for some reason it works. > D2 programs need more and more compile-time printing, and: > pragma(msg, ToString(...) ~ ...); > isn't much nice. Once again: 'much' and 'too much' can never. modify. adjectives. They are not adverbs.