mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We were trying to retrieve the name of all function calls in the body using `getBaseIdentifier`. But calls to `init` don’t have a base identifier, just a `DeclBaseName` (which is special). Work with the `DeclBaseName` internally to prevent the crash. Fixes rdar://78024731 [SR-14637]
256 KiB
256 KiB