https://issues.dlang.org/show_bug.cgi?id=9148
Steven Schveighoffer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #20 from Steven Schveighoffer <[email protected]> --- (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. --
