On 10/20/17 7:04 PM, user1234 wrote:
Strangely this is not always true, in other contexts this is seen as atype, although probably a bug

class Foo
{
     class Bar : this {}
     static assert(is(Bar : Foo));
}


Definitely a bug. You should have to write typeof(this) (which is valid in this context).

-Steve

Reply via email to