Skip to content

"EffectfulExprSyntax" protocol covering TryExprSyntax and AwaitExprSyntax #2549

Closed
@grynspan

Description

@grynspan

Description

It'd be very helpful to have a protocol that covers all effectful expressions (currently TryExprSyntax and AwaitExprSyntax.) swift-testing needs to walk syntax trees and diagnose when either of these expression types appear in certain contexts, and because the types are unrelated there is a fair bit of duplicated logic between them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions