Swift 5.6以下を使用 withCheckedContinuation(:function:_:) , withCheckedThrowingContinuation(function:_:) のクロージャ内に複数行の処理がある 戻り値がない これらの条件がそろった場合、ビルド時に Generic parameter 'T' could not be inferred というエラーが発生する。 func f1() async { await withCheckedContinuation { continuation in // Generic parameter 'T' could not be inferred print("") continuation.resume() } } func f2() async throws { try await withCheckedThr