[Issue 9148] 'pure' is broken
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 6 05:51:04 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=9148
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #20 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Kenji Hara from comment #19)
> (In reply to timon.gehr from comment #18)
> > I understand. My question was why you consider this to be a _problem_.
> > pureDg is weakly pure. I can change the context of a weakly pure delegate
> > depending on global state in other ways if I want to.
>
> I thought it would violate the purity concept in D.
I agree with Timon. It's not that much different from a class with two member
functions, one pure and one not pure.
--
More information about the Digitalmars-d-bugs
mailing list