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# 17372: icmp chokes on a lambda that can throw. #5361

Merged
merged 1 commit into from
May 5, 2017

Conversation

jmdavis
Copy link
Member

@jmdavis jmdavis commented May 5, 2017

This removes some inappropriate attributes from a fullCasedCmp. It's
templated, and their applicability depends on the template argument, so
they should be inferred. And the unit tests for icmp which test the
attributes (including @safe) pass without the attributes on
fullCasedCmp, so I have no idea why any of them (particularly @trusted)
were ever there.

@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
17372 function 'std.algorithm.searching.skipOver!(Result, dstring).skipOver' is not nothrow

This removes some inappropriate attributes from a fullCasedCmp. It's
templated, and their applicability depends on the template argument, so
they should be inferred. And the unit tests for icmp which test the
attributes (including @safe) pass without the attributes on
fullCasedCmp, so I have no idea why any of them (particularly @trusted)
were ever there.
@JackStouffer
Copy link
Member

Probably a historical artifact

@dlang-bot dlang-bot merged commit 0b1f13f into dlang:master May 5, 2017
tramker pushed a commit to tramker/phobos that referenced this pull request Feb 8, 2018
issue# 17372: icmp chokes on a lambda that can throw.
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>

cherry-picked-by: Martin Krejcirik <mk@krej.cz>

Also fixes issue 17319
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