D/Objective-C 64bit
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Nov 4 23:28:42 PST 2014
On 2014-11-04 23:46, Michel Fortin wrote:
> Once this is merged in DMD, __selector could be documented to be
> syntactically identical to a delegate (although semantically different)
> and it could be made syntactically valid for regular D code compiled
> with no Objective-C support (although it'd remain semantically invalid).
> That'd allow you to hide it in version blocks and static ifs.
Yeah, that would be preferable. I would like to avoid the mess that the
migration from D1 to D2 caused. Where if one wanted to support both some
D2 code needed to be in a string mixin guarded with a version block.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list