-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
Update std.traits to reflect renaming of TypeTuple to AliasSeq #3756
Conversation
|
Merge failed, please rebase. |
|
rebase pliz |
|
@jamadagni Please rebase this pull request. If you do not know what this means, you can read this: http://wiki.dlang.org/Starting_as_a_Contributor#Rebasing |
|
Hello. Sorry for the delay. Was busy with other things. Will do this within
|
|
I need some help here. I have pulled the upstream updates to my local clone (which is however of my fork of the official Phobos repo), and I have done the From looking at https://github.com/jamadagni/phobos/commits/remove_typetuple it seems that the problem is because my online branch is still based on a past commit of upstream whereas my local clone is based on the latest upstream. I'm not sure how to make my online copy sync with my local clone. Please advise. |
|
you want to do git rebase upstream/master where upstream is dlang/phobos. After you validate that your commits are on top of the current master branch commit you need to git push --force to your branch. |
… terminology changed imports to use std.meta i.o. std.typetuple rename names ending in "Tuple" or "List" by using plural of preceding word or replacing by Seq. rename unclear names "Parameters" and "Fields" to refer to "Types" since we have "Identifiers" of the same also. add deprecated tags to all aliases referring to the old names in all cases above. add deprecated tags to the typetuple module and alias. changed references to "function" to "callable" wherever the template was testing for isCallable. move description of callable to "isCallable" only. minor typo corrections.
|
What's going on? I'm seeing a "build failed" error with the log showing a problem with a file that's not modified in this PR at all: |
It took a while to track down (the second commit in this PR is huge), but here it is: You forgot to add a /**
* Alternate name for $(LREF ParameterTypes), kept for legacy compatibility.
*/
deprecated alias Parameters = ParameterTypes;Once you fix that, you will also need to change this (around line 1060): static assert(PSC!noparam.length == 0);To this: static assert(ParameterStorageClasses!noparam.length == 0);After that it should compile, and pass all unit tests. (You may need to rebase first, though.) However, it will also spam the compiler log with lots of Unfortunately, the fairly straightforward error message generated by the undefined reference to |
deprecated("It will be removed from Phobos in June 2016. Use std.meta") module std.typetuple;
// @@@DEPRECATED_2016-06@@@
|
|
Hi I have an exam coming up and so slow to respond/work on this. Will do so next week. Thanks for your patience. |
|
@jamadagni Ping! |
@jamadagni I hope you are doing well. Any chance to resurrect this work? Thanks! |
ping @jamadagni |
|
I adopted this orphaned PR: |
I have separated the changes into two commits. Please see the commit messages for more details on the changes.