Skip to content

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

Merged
dlang-bot merged 3 commits intodlang:masterfrom
UplinkCoder:remove_arrayProps
Jun 6, 2017
Merged

remove .sort / .reverse properties and adjust tests#6827
dlang-bot merged 3 commits intodlang:masterfrom
UplinkCoder:remove_arrayProps

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
assert(i == 2);
assert(a.array[0] == 73);
assert(a.array[1] == 82);

Copy link
Contributor

Choose a reason for hiding this comment

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

??

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

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
Contributor

Choose a reason for hiding this comment

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

Just delete this line?


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

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

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
Contributor

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