mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously in the case of a constructor like `A<Int>(value: 1)` `Fn->getLoc()` returned the location of `>(value: 1)` while the actual location we're looking for is correctly the start of `A<Int>(value: 1)`. This adjusts the location we're looking up to use the start location of the constructor instead. Fixes: https://github.com/apple/swift/issues/54532