Skip to content

Conversation

@wilzbach
Copy link
Contributor

Discovered in dlang/phobos#5584 (comment)

  • Erase is part of std.meta for a long time
  • catch statement without an exception specification is deprecated
    catch(Throwable) can be used to retain the old behavior

- `Erase` is part of std.meta for a long time
- catch statement without an exception specification is deprecated
`catch(Throwable)` can be used to retain the old behavior
@BlackEdder
Copy link
Owner

Thanks! Do you happen to know since which version Erase has been in std.meta?

@wilzbach
Copy link
Contributor Author

I think since the beginning:

https://docarchives.dlang.io/v2.069.0/phobos/std_meta.html#.Erase

It's just due to an issue in DMD that the imports are leaked..

@BlackEdder BlackEdder merged commit 251516e into BlackEdder:master Jul 10, 2017
@wilzbach wilzbach deleted the fix-deprecations branch January 26, 2018 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants