The outer object should be ready to respond to AddRef/Release. It is currently uninitialized. This is causing CompositionTests.testDerived to crash.
// Create the inner object using a valid pointer to an uninitialized outer object.
var inner: IInspectablePointer? = nil
self.outer = .uninitialized
let composed: UnsafeMutablePointer<Interface>? = try _factory(IInspectablePointer.cast(outer.unknownPointer), &inner)
The outer object should be ready to respond to
AddRef
/Release
. It is currently uninitialized. This is causingCompositionTests.testDerived
to crash.