We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 2f380b001bafaf01faf84d26648497b3
Issue Description:
testMe2 should generate equivalent code to testMe1, but instead it generates something that includes the call to _swift_dynamicCastClass.
testMe2
testMe1
_swift_dynamicCastClass
class B { } class D: B { } func testMe1(b: B) -> D { unsafeDowncast(b, to: D.self) } func testMe2(b: B) -> D { (b as? D).unsafelyUnwrapped }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Detail from JIRA
md5: 2f380b001bafaf01faf84d26648497b3
Issue Description:
testMe2
should generate equivalent code totestMe1
, but instead it generates something that includes the call to_swift_dynamicCastClass
.The text was updated successfully, but these errors were encountered: