Open amomchilov opened 6 years ago
Same error output, but caused by a different imported API. It's been resolved, but its solution doesn't fix this issue
Yeah, SR-7879 was a narrow fix. We've done some more general work since then, so this might be fixed by now as well. I'll take a look.
@swift-ci create
Nope, different issue, caused by AppKit having both NSFindPanelSearchOptionsPboardType and NSPasteboardTypeFindPanelSearchOptions.
@belkadan Hey Jordan, do you have a fix in mind?
I'm talking with AppKit. Meanwhile, you can either keep compiling in Swift 4 mode, or write a little Objective-C helper function that returns the constant rather than going through the property.
Attachment: Download
Environment
Minimal example project attached. CompilerCrash.zip Uncomment `ViewController.swift:16` and compile. This bug exists in at least following toolchains: 1. `Xcode 9` 2. `Xcode 10.0 Beta 2 (10L177m)` 3. `Swift 4.2 Snapshot 2018-06-26 (a)`Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, CompilerCrash, Serialization | |Assignee | None | |Priority | Medium | md5: cf2c2c0df41eaefd83c5d90fd9114aa5relates to:
Issue Description:
Any reference to
NSPasteboard.PasteboardType.findPanelSearchOptions
crashes the compiler. All other cases of the same enum seem to work fine.