You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Oct 10, 2018
· 3 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
#33561 should fix this for the non-optimized case (where the cast is being handled by the runtime). There may still be issues with optimized casts, though.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
Environment
Xcode 10.0 (10A255), Swift 4.2
Additional Detail from JIRA
md5: 942adf7e130c74daa296f6ca84a5bcbc
relates to:
Issue Description:
In the following code the
"b is Error"
incorrectly returnsfalse
though theb
variable holds anError
value.The result of the type check should be
true
. This issue might be related to SR-4552.The text was updated successfully, but these errors were encountered: