[Issue 12206] Can't "alias this" to a template instantiation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 19 14:01:25 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=12206
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
This is a weird case. The alias is part of the struct, but the actual function
is not. I would say that the correct behavior is the current one:
Error : no property foo for type S.
Note that writing s.t.foo works. In my opinion, this is the real bug.
--
More information about the Digitalmars-d-bugs
mailing list