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
The use of `as? [Foo]` or `as! [Foo]` produces the crash. Using `as` or leaving out the clause altogether produces a compiler error (as expected based on the type mismatch).
ed4online (JIRA User), can you download the latest "Trunk Development (main)" snapshot from https://swift.org/download/ and see if the bug is fixed for you?
And if you fix the syntax error? [To ensure that my cut-and-paste error when creating this Issue isn't masking the `as?` issue]
On 5.5-dev it is the combination of the syntax error AND `as?` causing the crash. Fix the syntax error or replace `as?` with `as` and the crash goes away.
Environment
Additional Detail from JIRA
md5: 46197bfe3129c8df0bf7d51cdfa541ce
Issue Description:
The text was updated successfully, but these errors were encountered: