[Issue 13130] Syntax check fails when this is used as argument type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 24 10:36:45 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13130

--- Comment #3 from Benjamin Thaut <code at benjamin-thaut.de> ---
I did actually read about this syntax on the newsgroup. I don't remember where,
but after I read about it I tried it out and it works flawlessly. And it is so
much shorter to write and looks a lot nicer in then "typeof(this)". I don't
think this is a accepts invalid, because according to the newsgroup this is by
design, although I don't know if it is mentioned in the spec.

--


More information about the Digitalmars-d-bugs mailing list