Granted, the code is modified AI slop.
I asked this on another forum, and they directed me here.
This is a successor to:
https://developer.apple.com/forums/thread/814231
I went into a slightly different direction. I generated more AI slop that use
NSLock. Then I had theNSLockusage changed toMutexusage. Now it crashes with:Task 13: EXC_BREAKPOINT (code=1, subcode=0x18d29326c)On one of the mutex closures. With an extended description:
warning: TypeSystemSwiftTypeRef::operator(): had to engage SwiftASTContext fallback for type $s7Combine10PublishersO21LineBreakingPublisherE11SplitAtZeroV12Subscription33_D18F5AAE73662968F407B0A79FBD1F8DLLCy_x_qd__GDI put the class, a
Subscriptionnested in its correspondingPublisheroperator, in the given file
The code is in the “Subscription.txt” attachment in the source post.