Writing code that uses result builders, which is SwiftUI for most people, but also includes Reducers in code using the Point-Free Composable Architecture has become almost untenable. The compiler gives you a single useless error for the first line of the result builder and you have no clue where the actual error is.
The only way to find the actual error(s) is via a type of binary search or bisect, where you comment out half the code in turn to find out if the error still appears, and then successively smaller chunks until you finally have the block of code that is causing the error, and you can then analyse it line by line until you figure out the error yourself.
It's absolutely maddening