mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
While trying to diagnose missing optional unwrap for single use vars guard against it not having a parent initializer. Unfortunately there is no test-case for this but we have received multiple reports about `offerDefaultValueUnwrapFixIt` crashing trying to access locator on passed in `expr`. Resolves: rdar://problem/51784793
111 KiB
111 KiB