Skip to content

async_without_await triggers on @concurrent functions without await #6283

@SimplyDanny

Description

@SimplyDanny

The rule is supposed to flag async functions which don't contain any await expression/statement. However, @concurrent functions in Swift 6.2 require the async in any case. The rule needs to exclude @concurrent functions.

Example:

@concurrent
func f() async {} // rule triggers here even though it must not

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected and reproducible misbehavior.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions