July 23, 2017 [Issue 10369] Deprecate unordered floating point comparisons (!<>=, etc) and later remove them | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10369 Ali Cehreli <acehreli@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acehreli@yahoo.com --- Comment #12 from Ali Cehreli <acehreli@yahoo.com> --- To add to bearophile's last comment, they appear on this page as well: https://wiki.dlang.org/Operator_precedence Ali -- |
November 03, 2019 [Issue 10369] Deprecate unordered floating point comparisons (!<>=, etc) and later remove them | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10369 Nicholas Wilson <iamthewilsonator@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |iamthewilsonator@hotmail.co | |m Resolution|--- |WORKSFORME --- Comment #13 from Nicholas Wilson <iamthewilsonator@hotmail.com> --- The posted example now errors: onlineapp.d(5): Error: template argument expected following ! onlineapp.d(5): Error: expression expected, not >= onlineapp.d(5): Error: found b when expecting ; following statement onlineapp.d(5): Deprecation: use { } for an empty statement, not ; onlineapp.d(6): Error: expression expected, not > onlineapp.d(6): Error: found b when expecting ; following statement onlineapp.d(6): Deprecation: use { } for an empty statement, not ; onlineapp.d(7): Error: expression expected, not >= onlineapp.d(7): Error: found b when expecting ; following statement onlineapp.d(7): Deprecation: use { } for an empty statement, not ; onlineapp.d(8): Error: template argument expected following ! onlineapp.d(9): Error: template argument expected following ! onlineapp.d(10): Error: template argument expected following ! onlineapp.d(11): Error: template argument expected following ! onlineapp.d(12): Error: template argument expected following ! onlineapp.d(12): Error: expression expected, not > onlineapp.d(12): Error: found b when expecting ; following statement onlineapp.d(12): Deprecation: use { } for an empty statement, not ; -- |
Copyright © 1999-2021 by the D Language Foundation