mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We observed several false positives of function hoist API changes. This patch strictly checks the new module doesn't contain a declaration with the identical name of the old function before hoisting to eliminate such false positives. This case is too complex to come up with an actual test case.