Skip to content

[gardening] Remove unused variable loweredMT #7911

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

Merged
merged 1 commit into from
Mar 5, 2017
Merged

[gardening] Remove unused variable loweredMT #7911

merged 1 commit into from
Mar 5, 2017

Conversation

practicalswift
Copy link
Contributor

No description provided.

@practicalswift
Copy link
Contributor Author

@swift-ci please smoke test

@practicalswift
Copy link
Contributor Author

@swift-ci please test

@@ -1664,7 +1664,7 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
}

// Metatypes preserve their instance type through lowering.
if (auto loweredMT = loweredType.getAs<MetatypeType>()) {
if (loweredType.getAs<MetatypeType>()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be .is<MetatypeType>() since the result is not needed

@practicalswift
Copy link
Contributor Author

@slavapestov Good point. Fixed, squashed and pushed. Thanks!

@practicalswift
Copy link
Contributor Author

@swift-ci please smoke test

@practicalswift
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Mar 5, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 97284b1d7e5df93643bb7d15dff5bbd83971f17f
Test requested by - @practicalswift

@swift-ci
Copy link
Contributor

swift-ci commented Mar 5, 2017

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 97284b1d7e5df93643bb7d15dff5bbd83971f17f
Test requested by - @practicalswift

@slavapestov slavapestov merged commit d03ac2c into swiftlang:master Mar 5, 2017
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.

3 participants