Request for review: Preserve async-let typed errors (#91964)

Hi everyone!

I'm a new contributor to the Swift project and I'm not entirely familiar with the usual PR review process or how long it typically takes to get feedback.

I have grown increasingly frustrated by the fact that async let doesn't preserve the thrown error type of a typed-throwing function. After looking into it, I discovered that this had already been reported some time ago in issue #76169 but I couldn't find any indication that anyone had started working on a fix. So I decided to give it a try myself and submitted a PR with a proposed fix and some tests - PR #91964

The PR has been open since September 4 and unfortunately I haven't received any feedback yet despite a couple of follow-up comments. I'm not sure whether this is a typical waiting time for compiler PRs or if there's something else I should be doing to get it reviewed.

Would someone be willing to take a look at the PR or perhaps point me toward the right person to ask for a review?

I'd be happy to make any necessary changes based on feedback.

Thanks in advance!

4 Likes

Thanks for the ping, that's my ballpark and I missed the PR somehow. I'll have a look and the most difficulty will be about making sure we won't break any existing code rather than making the change itself.

We'll need to do some additional testing to see if we break anyone with the change, but overall it'd be good to get done -- thanks for the PR, let's continue over ther.

3 Likes