Skip to content

Warnings when flag -warn-concurrency is enabled for AsyncAlgorithms #196

Closed
@Sajjon

Description

@Sajjon

If I add warn-concurrency and enable-actor-data-race-check as swiftSettings for AsyncAlgorithms target I get some warnings. This is on macOS Ventura (13.0 Beta (22A5331f)) and using Xcode 14.0 beta 5 (14A5294e).

  .unsafeFlags([
           "-Xfrontend", "-warn-concurrency",
           "-Xfrontend", "-enable-actor-data-race-checks",
     ])

Screenshot 2022-09-10 at 22 42 53

It feels like such a serious and great project like this ought to lead the way in terms of correctness of structured concurrency, so I expect:

  1. These flags to be enabled
  2. Packages, or at least the public one AsyncAlgorithms to not have any concurrency warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions