swift
9cbf1655 - Infer AsyncIteratorProtocol.Failure from `next()` throws.

Commit
1 year ago
Infer AsyncIteratorProtocol.Failure from `next()` throws. When inferring the `Failure` associated type from the `next()` witness, account for the fact that it might itself use typed throws. Use the specified thrown error type for the inferred witness of `Failure`. Fixes rdar://125446918.
Author
Committer
Parents
Loading