Skip to content

Conversation

@wilzbach
Copy link
Contributor

Follow-up to #6626
As many modules depend on std.uni, we would have needed to revert almost all of the existing -dip1000 work.

The @trusted shouldn't be necessary here, but so far no one has come up with a good fix for std.uni :/

@dlang-bot dlang-bot added the Review:WIP Work In Progress - not ready for review or pulling label Jul 19, 2018
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#6638"

@wilzbach wilzbach changed the title [WIP] Revert @trusted hotfix for std.uni Revert @trusted hotfix for std.uni Jul 19, 2018
// TODO: change this to data[] once the -dip1000 errors have been fixed
// see e.g. https://github.com/dlang/phobos/pull/6638
import std.array : array;
return Intervals!(typeof(data.array))(data.array);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like this part of -dip1000 is still under work, so I presume it's best to do the ugly allocation for now, s.t. Walter can continue to work on DIP1000 and this stays @safe.

@wilzbach wilzbach added Review:Blocking Other Work and removed Review:WIP Work In Progress - not ready for review or pulling labels Jul 19, 2018
@wilzbach wilzbach merged commit c7e9f1c into dlang:master Jul 19, 2018
@wilzbach wilzbach deleted the fix-trusted branch July 19, 2018 23:51
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.

3 participants