mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It doesn't make sense to let getAccessPathWithScope return an `EnclosingScope` as the second tuple element, because in case it's a `base`, it duplicates the `AccessBase` (which is returned in the first tuple element). Instead just return an optional `BeginAccessInst` which is not nil if such an "scope" is found.
20 KiB
20 KiB