http://d.puremagic.com/issues/show_bug.cgi?id=6074



--- Comment #2 from simendsjo <simen.end...@pandavre.com> 2011-05-29 08:44:37 
PDT ---
(In reply to comment #1)
> In the current stage, allowing only 'pure' function inside an 'assert' is
> impractical, e.g. you can't use std.algorithm.equal.

Can't equal be pure when not using a closure? I would think having side effects
in asserts is always bad. If it's difficult to implement, at least the
documentation should be changed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to