DIP 1012--Attributes--Preliminary Review Round 1
sarn
sarn at theartofmachinery.com
Sun May 27 22:50:19 UTC 2018
On Sunday, 27 May 2018 at 13:44:40 UTC, Mike Franklin wrote:
> I don't know what's happening with this DIP, but I've recently
> encountered a real-world problem for which there is no
> palatable workaround that this DIP would likely solve:
>
> https://github.com/dlang/druntime/pull/2184#pullrequestreview-120643123
>
> My attempts to workaround the issue I posted at
> https://forum.dlang.org/post/uhgzgmowqcczczrdtsol@forum.dlang.org
>
> That PR may be useful for motivating this DIP.
>
> Mike
It looks like all you need is a way to toggle attributes with a
flag, like pure(isPure) or something. IIRC, last time that came
up, it turned into a bikeshedding fest about the syntax. (I
don't think parentheses works with UDAs.) Anyway, yeah, we need
the functionality.
However, this DIP is *way* more complicated. I stand by what I
said before:
https://forum.dlang.org/post/dnmcqwkdfmommiiugcvv@forum.dlang.org
Jonathan M Davis said it in long form:
https://forum.dlang.org/post/mailman.5429.1501206646.31550.digitalmars-d@puremagic.com
More information about the Digitalmars-d
mailing list