DIP 1007 - keywords as identifiers with an escape symbol - feedback
Chris Wright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Dec 22 18:03:47 PST 2016
On Thu, 22 Dec 2016 10:47:37 +0000, Basile B. wrote:
> no...it's dead, obviously whatever is the amount of #, they'll be
> removed when the token is patched for the first time. This just doesn't
> work with mixins. End of story.
If it's changed to `# identifier` instead of `# keyword`, you can
defensively add an octothorp to any identifier you mix in. However, that
would fail if someone has an identifier named `line`. And in any case it
breaks existing string mixins.
More information about the Digitalmars-d
mailing list