[Issue 10369] Deprecate unordered floating point comparisons (!<>=, etc) and later remove them

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 3 05:01:20 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=10369

Nicholas Wilson <iamthewilsonator at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |iamthewilsonator at hotmail.co
                   |                            |m
         Resolution|---                         |WORKSFORME

--- Comment #13 from Nicholas Wilson <iamthewilsonator at 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 ;

--


More information about the Digitalmars-d-bugs mailing list