Closed
Description
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.