mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In asserts builds this hits an assert that the feature isn't enabled, and in no-asserts builds this incorrectly allows `do` expressions to be used with the feature disabled. Note this only affects their use when nested in an `if`/`switch` that is used in a binding, we correctly handled the other cases. rdar://121193678
4.1 KiB
4.1 KiB