"EffectfulExprSyntax
" protocol covering TryExprSyntax
and AwaitExprSyntax
#2549
Labels
enhancement
New feature or request
Description
It'd be very helpful to have a protocol that covers all effectful expressions (currently
TryExprSyntax
andAwaitExprSyntax
.) 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.The text was updated successfully, but these errors were encountered: