Skip to content

Conversation

@nikolaykasyanov
Copy link
Contributor

A proof of concept for #2633.

let disposable2 = TestDisposable()

var disposeBag: DisposeBag? = DisposeBag()
var disposeBag: DisposeBag = DisposeBag()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Xcode 15, noncopyable types can't be used as generic arguments, so no optional for us. If Xcode 15 compatibility isn't a concern, this and similar changes can be rolled back.

@nikolaykasyanov nikolaykasyanov force-pushed the noncopyable-dispose-bag branch from 5aebb54 to 0cb9245 Compare October 11, 2024 18:26
@nikolaykasyanov nikolaykasyanov force-pushed the noncopyable-dispose-bag branch from 0cb9245 to 2c8982a Compare October 11, 2024 18:38
@nikolaykasyanov
Copy link
Contributor Author

Closing as per discussion in #2633.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant