[Issue 11124] support "is (T : struct)" syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 25 09:24:36 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11124
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-25 09:24:35 PDT ---
(In reply to comment #2)
> And, how this will work when multiple alias this is properly implemented?
I think we should think about adding a new 'is' expression for alias this
checks, because I've already ran into an issue with them interfering with the
is(T : X) syntax. I'm thinking we could introduce something like the following:
if (is(T : alias X)) => T has a subtype of type X
I can't find my other bug report right now where I mention this, I'll look into
it later.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list