swift
e8eaafda - [Typed throws] Check thrown error type from an async for..in loop

Commit
1 year ago
[Typed throws] Check thrown error type from an async for..in loop While it is not yet possible for an `AsyncSequence` to specify its thrown error type (so it always throws `any Error`), check that `any Error` is a suitable error type to be thrown in context.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckEffects.cpp
  • test/Concurrency
    • File
      typed_throws.swift