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 bugclass 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