swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.3k stars 10.34k forks source link

[SR-11141] [Source Compat] Possible RxSwift breakage - error: 'NSTextView' is incompatible with 'weak' references #53537

Closed clackary closed 5 years ago

clackary commented 5 years ago
Previous ID SR-11141
Radar None
Original Reporter @clackary
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug, SourceCompatibility | |Assignee | None | |Priority | Medium | md5: 3d76d941c694030a15d63f28e215e741

duplicates:

Issue Description:

I'm working to add 5.1 configurations, and I'm running into this when building RxSwift.

Xcode: Xcode 11 beta 3

Swift branch: master

./swift-source-compat-suite/project_cache/RxSwift/RxCocoa/macOS/NSTextView+Rx.swift:20:12: error: 'NSTextView' is incompatible with 'weak' references
    public weak private(set) var textView: NSTextView?
           ^~~~~
swift-ci commented 5 years ago

Comment by Owen Voorhees (JIRA)

This looks like a duplicate of SR-11136