std.math: deprecate backwards compatibility with Phobos1#2636
std.math: deprecate backwards compatibility with Phobos1#2636quickfur merged 2 commits intodlang:masterfrom 9il:part1
Conversation
|
Looks like there's a merge conflict; please rebase. |
is->are
|
Auto-merge toggled on |
What does it mean? |
|
@9il Win64 fail |
|
Looks like one of the tests is failing, probably the output doesn't exactly match the expected output. |
|
P.S. Ah, looks like you have to update some of the dmd test files to either use the new function names, or update the expected output to include the new deprecation messages. |
|
Auto-merge toggled off |
|
Ok, probably I understand. I need to rewrite Phobos1 tests =) |
|
Hmm, the autotester is passing now. Was there a corresponding dmd PR that got merged? |
|
isnan was called from std.format, not from test: See 9il@cb8d75e . |
|
Ah, makes sense. Thanks! LGTM. |
|
Auto-merge toggled on |
std.math: deprecate backwards compatibility with Phobos1
|
These name changes have to stop. They're the poster boy for churn giving an "illusion of progress". |
|
Never underestimate learning curve damage of inconsistent naming. |
I don't buy that. There's nothing "intuitive" or "consistent" with isNaN instead of isnan. (Googling it shows that isnan, isNaN, ISNAN, is-nan are common spellings in various languages.) There is, however, considerable ongoing damage with "my working code from 1 year ago won't compile anymore because of gratuitous incompatible changes." We ought to be working on things that matter, like making the documentation for isnan better, than just more wretched bikeshedding and breaking. |
Of course there is, because we have a naming style and |
Then it should have been |
It was |
is____ functions in std.math
Depends on dlang/dmd#4090