Skip to content

highlight mtype.d error messages#7683

Merged
dlang-bot merged 1 commit intodlang:masterfrom
JinShil:error_messages_mtype
Jan 12, 2018
Merged

highlight mtype.d error messages#7683
dlang-bot merged 1 commit intodlang:masterfrom
JinShil:error_messages_mtype

Conversation

@JinShil
Copy link
Contributor

@JinShil JinShil commented Jan 12, 2018

No description provided.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @JinShil!

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.

{
// MAINTENANCE: turn into error in 2.073
e.deprecation("%s.ptr cannot be used in @safe code, use &%s[0] instead", e.toChars(), e.toChars());
e.deprecation("`%s.ptr` cannot be used in `@safe` code, use `&%s[0]` instead", e.toChars(), e.toChars());
Copy link
Contributor

Choose a reason for hiding this comment

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

Hehe that's why we should maintain a file with a list of deprecations 😱

I will submit a PR for this then.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

huh. I totally overlooked the comment. I guess I had tunnel vision on tick marks.

Copy link
Contributor

Choose a reason for hiding this comment

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

@dlang-bot dlang-bot merged commit e0c1ead into dlang:master Jan 12, 2018
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