mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When a variable is re-declared using shorthand syntax (`[foo]` closure capture or `if let foo {`), the user doesn’t perceive this as a new variable declaration. Thus, we should return the original declaration as a secondary result.
rdar://91311033
rdar://75455650
97 KiB
97 KiB