Skip to content

@attr nonisolated P inheritance clause entry rejected #3109

Open
@AnthonyLatsis

Description

@AnthonyLatsis

Issue Kind

None

Source Code

struct S: @unsafe nonisolated P {}
struct S: @preconcurrency nonisolated P {}

Description

The opposite order of annotations is rejected by both parsers, which may also be unexpected. For one, it does complicate the calculation of an insertion location for adding a new annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwiftParserBugs in the (new) Parser written in SwiftbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions