Re: possible nested class/struct alias this bug

2013-10-02 Thread Eberhard
ass.foo If the the inner class were static, mixinTemplate == false would not compile. aliasThis is just a dynamic mixin, right? Eberhard.

possible nested class/struct alias this bug

2013-09-28 Thread Eberhard
Hello, I came across this unexpected error in the first example, so I tested similar scenarios, but couldn't make any sense of it. Thanks, Eberhard. class A { void foo() {} static class B { private A a; alias a this; void bar() { thi