Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 13806: BitArray should not define member function called init() #2854

Merged
merged 1 commit into from
Jan 24, 2015

Conversation

quickfur
Copy link
Member

@quickfur quickfur commented Jan 7, 2015

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

Look at how much more readable the unittests are after the deprecation! Seriously, how did we ever put up with this for so long??

Split into 3 commits deliberately, because I know Vladimir is going to complain about sudden deprecations, so the first commit is just a comment, the second commit is to clean up some blatant style violations, and the third is the actual deprecation and unittest cleanup.

@@ -1219,11 +1220,27 @@ public:
return hash;
}

deprecated("Please use the constructor instead.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal date in the message?

@andralex
Copy link
Member

andralex commented Jan 8, 2015

works4me

put deprecation date in the message pliz

@quickfur
Copy link
Member Author

quickfur commented Jan 8, 2015

Done

@andralex
Copy link
Member

andralex commented Jan 8, 2015

@WalterBright: depre?

@quickfur quickfur force-pushed the bitarray_init branch 2 times, most recently from 65fe5b6 to 25ac048 Compare January 22, 2015 19:09
@quickfur
Copy link
Member Author

Rebased.

ping @WalterBright @andralex Should we go ahead with this?

andralex added a commit that referenced this pull request Jan 24, 2015
Issue 13806: BitArray should not define member function called init()
@andralex andralex merged commit 588c76c into dlang:master Jan 24, 2015
@quickfur
Copy link
Member Author

Thanks!

But shouldn't you be toggling automerge instead, in case the autotester catches a unittest failure?

@quickfur quickfur deleted the bitarray_init branch January 24, 2015 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants