Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Concurrency] Stage in new Async{Throwing}Stream.init(unfolding:) errors as warnings. #73310

Merged
merged 4 commits into from
May 1, 2024

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    425b805 View commit details
    Browse the repository at this point in the history
  2. [Concurrency] Stage in new Async{Throwing}Stream.init(unfolding:) e…

    …rrors
    
    as warnings.
    
    Marking the closure parameter to these inits as `@Sendable` changed the
    inferred isolation of closure arguments in actor-isolated contexts, which
    caused new effects checker errors when accessing isolated properties and
    methods without `await`. Mark these `init`s as `@preconcurrency`, and fix
    the effects checker to downgrade those errors to warnings when the context
    of the call is `@preconcurrency`.
    hborla committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    38cc951 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    2c20902 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f5e47e View commit details
    Browse the repository at this point in the history