https://d.puremagic.com/issues/show_bug.cgi?id=12390
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Kenji Hara <[email protected]> 2014-03-29 00:06:37 PDT --- This is not a regression. Rather the behavior change was an actual fix of rejects-valid bug. (In reply to comment #0) > DMD 2.065: > test.d(7): Error: == has no effect in expression (fun().i == 4) 'fun' is not pure, so essentially its call could have side effect. So the error message was incorrect in 2.065 and earlier. > DMD master compiles. Therefore, current git-head behavior is correct. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
