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
// FIXME: These should be distinct types, constructible from one another.
_ = stream as ConstFSEventStreamRef // works by coincidence because both are currently OpaquePointer
_ = ConstFSEventStreamRef(stream) // expected-error {{no exact matches in call to initializer}}
// This is not a CF object.
FSEventStreamRetain(stream) // no-warning
FSEventStreamRelease(stream)
let _: AnyObject = stream // expected-error {{value of type 'FSEventStreamRef' (aka 'OpaquePointer') expected to be instance of class or class-constrained type}}