On Monday, 5 October 2015 at 21:29:20 UTC, Namespace wrote:
But you can simply relinquish alias this and use opDispatch. Problem solved.
I don't understand what you mean. Thinking about this now though, shouldn't this be a bug? I think there should be a rule for this one: class A{} struct B { A a; alias a this; } A a = B(); // errorError: assignment from alias this not allowed for class or interface alias.
Bit