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

remove .sort / .reverse properties and adjust tests #6827

Merged
merged 3 commits into from
Jun 6, 2017

Conversation

UplinkCoder
Copy link
Member

as per title
This is a revamp of #6554

@UplinkCoder UplinkCoder changed the title remove .array / .reverse properties and ajust tests remove .array / .reverse properties and adjust tests May 24, 2017
@UplinkCoder UplinkCoder force-pushed the remove_arrayProps branch 3 times, most recently from 357606a to 1bfcef7 Compare May 24, 2017 12:30
@mathias-lang-sociomantic
Copy link
Contributor

Doesn't idgen need an update as well ?

@UplinkCoder UplinkCoder force-pushed the remove_arrayProps branch 2 times, most recently from f894e54 to 423499c Compare May 24, 2017 12:51
@UplinkCoder
Copy link
Member Author

@mathias-lang-sociomantic I originally intended for the idgen change to be in a separate PR
but it might as well happen now.

@UplinkCoder
Copy link
Member Author

@andralex ready for merge.

Copy link
Member

@andralex andralex left a comment

Choose a reason for hiding this comment

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

thx!

@andralex
Copy link
Member

cc @MartinNowak for deployment as he sees fit

@UplinkCoder UplinkCoder force-pushed the remove_arrayProps branch 3 times, most recently from 415fe00 to 5cabbd0 Compare May 24, 2017 21:08
@UplinkCoder
Copy link
Member Author

There are still a few tests to fix up..
Should be ready soon though.

@UplinkCoder UplinkCoder force-pushed the remove_arrayProps branch 13 times, most recently from 2e98876 to 32a035a Compare May 26, 2017 15:02
@UplinkCoder
Copy link
Member Author

@MartinNowak this passes now.

@UplinkCoder UplinkCoder changed the title remove .array / .reverse properties and adjust tests remove .sort / .reverse properties and adjust tests May 26, 2017
@@ -840,7 +840,6 @@ void test26()
assert(i == 2);
assert(a.array[0] == 73);
assert(a.array[1] == 82);

Copy link
Member

Choose a reason for hiding this comment

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

??

return std.algorithm.cmp(this.str, s.str);
}
}

void test45()
{
import std.algorithm;
import std.range;
Copy link
Member

Choose a reason for hiding this comment

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

??

{
real[10] array;
real[] copy = array.dup;
copy.sort;
Copy link
Member

Choose a reason for hiding this comment

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

Just delete this line?

@@ -66,7 +66,7 @@ int main (string[] args)
}

printf("--------------------------------------\n");

import std.algorithm.sorting : sort;
Copy link
Member

Choose a reason for hiding this comment

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

Nooooo

@UplinkCoder
Copy link
Member Author

@yebblies addressed your comments

Copy link
Member

@MartinNowak MartinNowak left a comment

Choose a reason for hiding this comment

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

Short changelog notice, otherwise good to go from my side.
https://github.com/dlang/dmd/tree/master/changelog

@andralex
Copy link
Member

andralex commented Jun 6, 2017

thx you guys - @UplinkCoder changelog and we should be good to go

@UplinkCoder
Copy link
Member Author

@andralex Martin amended the changelog entry already
You can dis-spell his request for changes.

@wilzbach
Copy link
Member

wilzbach commented Jun 6, 2017

PR for dlang.org: dlang/dlang.org#1672

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants