[Issue 17239] template this in typeof expressions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 14 13:14:24 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=17239
--- Comment #3 from Nick Treleaven <nick at geany.org> ---
> As c is a template, the type is supposed to be void
This got added to the spec fairly recently:
> If the expression is a Template, typeof gives the type void.
https://dlang.org/spec/type.html#typeof
--
More information about the Digitalmars-d-bugs
mailing list