On Tuesday, 5 August 2014 at 16:54:47 UTC, Stefan Koch wrote:
I'm not sure what you mean. Are you referring to things like pragma msg?


to things like mixin("mixin(`writeln ("Hello World");`");

```
bool foo() { ... }

template bar(bool cond)
{
    static if (cond)
        enum bar = "int a;";
    else
        enum bar = "int b;";
}

mixin(bar!(foo()));

pragma(msg, is(typeof(a)));
```

Good luck doing parallel semantic analysis :D I am sure deadalnix can give example much worse than that though.
  • Re: SDC-32bit deadalnix via Digitalmars-d-announce
    • Re: SDC-32bit Shammah Chancellor via Digitalmars-d-announce
    • Re: SDC-32bit Shammah Chancellor via Digitalmars-d-announce
      • Re: SDC-32bit Stefan Koch via Digitalmars-d-announce
      • Re: SDC-32bit deadalnix via Digitalmars-d-announce
        • Re: SDC-32bit Shammah Chancellor via Digitalmars-d-announce
          • Re: SDC-32b... Stefan Koch via Digitalmars-d-announce
            • Re: SD... Dicebot via Digitalmars-d-announce
              • Re... Shammah Chancellor via Digitalmars-d-announce
              • Re... deadalnix via Digitalmars-d-announce
              • Re... Stefan Koch via Digitalmars-d-announce
              • Re... Stefan Koch via Digitalmars-d-announce
              • Re... Temtaime via Digitalmars-d-announce
              • Re... Stefan Koch via Digitalmars-d-announce
              • Re... Suliman via Digitalmars-d-announce
              • Re... Stefan Koch via Digitalmars-d-announce

Reply via email to