Thread overview
[Issue 17340] isNumeric!bool should not be true
[Issue 17340] [REG 2.074.0] isNumeric!bool should not be true
Apr 22, 2017
Jack Stouffer
April 22, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

--- Comment #1 from thomas.bockman@gmail.com ---
The new (wrong) behaviour was also retroactively added to the documentation in a later commit: https://github.com/dlang/phobos/commit/118f2d773317d0da76c0d9054e7bcddd2e83f887

However, prior to DMD 2.074 isNumeric did not work this way. It's a (presumably accidental) breaking change.

--
April 22, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

--- Comment #2 from thomas.bockman@gmail.com ---
I submitted a fix: https://github.com/dlang/phobos/pull/5343

--
April 22, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

Jack Stouffer <jack@jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack@jackstouffer.com
            Summary|isNumeric!bool should not   |[REG 2.074.0]
                   |be true                     |isNumeric!bool should not
                   |                            |be true

--
April 27, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/83f757c17737cca5faeecdc77cae350f0bad9a4e Fix issue 17340 - isNumeric!bool should not be true

https://github.com/dlang/phobos/commit/ef025a64ab1115281a033f6e8ad56421a23bd12b Merge pull request #5343 from tsbockman/is_bool_numeric

Fix issue 17340 - isNumeric!bool should not be true

--
April 27, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
May 29, 2017
https://issues.dlang.org/show_bug.cgi?id=17340

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/83f757c17737cca5faeecdc77cae350f0bad9a4e Fix issue 17340 - isNumeric!bool should not be true

https://github.com/dlang/phobos/commit/ef025a64ab1115281a033f6e8ad56421a23bd12b Merge pull request #5343 from tsbockman/is_bool_numeric

--
January 05, 2018
https://issues.dlang.org/show_bug.cgi?id=17340

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/83f757c17737cca5faeecdc77cae350f0bad9a4e Fix issue 17340 - isNumeric!bool should not be true

https://github.com/dlang/phobos/commit/ef025a64ab1115281a033f6e8ad56421a23bd12b Merge pull request #5343 from tsbockman/is_bool_numeric

--