swift-syntax
swift-syntax copied to clipboard
Introduce protocol for effect-like expression nodes
Description
We ought to have a common protocol for try, await, and unsafe expression nodes, which would allow us to simplify the checks added in #3037.
Synced to Apple’s issue tracker as rdar://148548364
See #2549