-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Gets rid of for-loop deprecation compiler warnings in stdlib/public/core #644
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
Conversation
bf03c03
to
7fd0bcd
Compare
@@ -367,8 +367,10 @@ Type TypeChecker::applyGenericArguments(Type type, | |||
if (!unbound) { | |||
// FIXME: Highlight generic arguments and introduce a Fix-It to remove | |||
// them. | |||
diagnose(loc, diag::not_a_generic_type, type); | |||
|
|||
if (!type->is<ErrorType>()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be part of a separate pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not my changes. Probably rebase issues. Fixing.
7fd0bcd
to
6a63909
Compare
Can you separate out the generic-specialization-of-error-type changes? |
@DougGregor that was a rebase issue, I've already fixed this. |
e81a49f
to
16f4f4e
Compare
We had applied such a change before, and it caused performance issues. We can safely take all changes outside of @nadavrot, how would you like to proceed with this? @kovpas Feel free to split the patch into the |
16f4f4e
to
3946624
Compare
@gribozavr done: #653 |
I believe this is already implemented in master. |
[Stress tester XFails] Update XFails
Not too many warnings, but still rather annoying.