Skip to content

SR-8918: warning: conditional cast from 'Any' to 'AnyObject' always succeeds #2613

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
Jan 16, 2020

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Jan 16, 2020

  • The bridging from Any to AnyObject was fixed a while ago so use 'as'
    instead of 'as?' casting and remove the redundant else case.

…ucceeds

- The bridging from Any to AnyObject was fixed a while ago so use 'as'
  instead of 'as?' casting and remove the redundant else case.
@spevans
Copy link
Contributor Author

spevans commented Jan 16, 2020

@swift-ci test linux

@spevans
Copy link
Contributor Author

spevans commented Jan 16, 2020

@swift-ci test and merge

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.

1 participant