2021 me did a quick temporary hack to unblock a critical feature.

2024 me just tripped over it in the dark and fell flat on his face.

2024 me is not amused with 2021 me.

@dgregor79 I know this feeling very well. Past Bok is a massive jerk.
@dgregor79 I know a lot of things happened in 2021, but I couldn't help but wonder whether it's that one https://github.com/apple/swift/commit/1b8f56285284fac6c0ae7447421b629fb284750d#diff-d57f6f2d466f1f207cdf2dbd0396a1dbb2caba7b6828ebdb9954948f0ac2b499R1675 (and even if it isn't today's cause for tripping, than only means it's still there to make you trip over tomorrow).
Adjust the referenced function type for @_unsafeSendable and @_unsafe… · apple/swift@1b8f562

…MainActor. When referencing a function that contains parameters with the hidden `@_unsafeSendable` or `@_unsafeMainActor` attributes, adjust the function type to make the types of those parameter...

GitHub
@PierreLebeaupin No, not this one. For all of the surprise expressed by the existence of this hack, it’s avoided a huge amount of unnecessary code churn.
@dgregor79 If this was one of my codebases I would find the offending code and it would have a comment on it that started: // Dear Future Ted and Max...