[Issue 11124] support "is (T : struct)" syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 25 08:55:46 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11124
--- Comment #1 from monarchdodra at gmail.com 2013-09-25 08:55:45 PDT ---
Also, use case that we might want to support (but I'm not 100% sure on this):
is (typeof(f) : delegate)
idea being that a function is also a delegate (?) Not entirely sure this is
actually true though. Still, a struct might be implicitly castable via alias
this to a delegate, so ": delegate" and ": function" would be useful.
See also:
http://d.puremagic.com/issues/show_bug.cgi?id=11123
This might have been avoided with useage of ": delegate" as opposed to "==
delegate"
--
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