mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Cursor info on a reference to a decl that shadows other decls should not include those decls in the secondary symbols. They should only be added on the decl itself, if that particular location is *also* the reference to the shadowed decl (eg. in a shorthand if let or closure capture). Resolves rdar://96305891.
5.3 KiB
5.3 KiB