Skip to content

nonisolated(nonsending) is formatted incorrectly #1081

@bnbarham

Description

@bnbarham

The following:

func foo(_ body: nonisolated(nonsending) () async -> Void) {}

Is formatted to:

func foo(_ body: nonisolated (nonsending)() async -> Void) {}

I assume we're handling attribute lists but not the type specifier list?

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