After upgrading all my active projects to Swift 6 language mode, I was bound to encounter some head-scratching edge cases. One of the weirdest ones was this runtime crash: Thread 5 Queue : com.apple.root.default-qos (concurrent) #0 0x00000001021243f8 in _dispatch_assert_queue_fail () #1 0x0000000102124384 in dispatch_assert_queue () #2 0x00000002444c63e0 in swift_task_isCurrentExecutorImpl () #3 0x0000000105a895b4 in closure #1 in AppDelegate.setupObjCFramework(using:flowIdentifier:) () It do...