mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When handling ternary expressions, we check that an active region exists before attempting to access its counter. It's not necessary to check that the parent AST node is null, and also that the region stack is empty. The second check is stronger than the first one.
26 KiB
26 KiB