May 05, 2018 [Issue 4111] Foreach ranges accept floating-point extrema | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4111 Johannes Loher <johannes.loher@fg4f.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid | CC| |johannes.loher@fg4f.de Severity|normal |enhancement --- Comment #2 from Johannes Loher <johannes.loher@fg4f.de> --- This still works as of 2.080.0 and the spec indeed does not state that only integral extrema are allowed. This is legal code at the moment. I'll tag this as enhancement. -- | ||||
March 22, 2022 [Issue 4111] Foreach ranges accept floating-point extrema | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4111 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- This issue has been filled a long time ago and there were no other complaints. Since it is possible that code in the wild uses this feature (in spite of FP approximations), I see no point in dissallowing it. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply