Open iby opened 4 years ago
Can you try reproducing with a more recent compiler, such as a snapshot toolchain? https://swift.org/download/#snapshots
I tried compiling the following program with a master compiler @ 50c0534206481bb7eebe1b4639f590a7eb5c07c0 and it gave me a compiler error instead of a crash.
import AppKit
let _ = NSPasteboard().readObjects(forClasses: [URL.self])
Environment
Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 85f8d39e1923a1688060bc7d016460fcIssue Description:
The following crashes Swift:
The following doesn't:
Might be related: SR-8149