Commit f5bd65a
committed
Check if decl context returned by importDeclContextOf is null
I've seen a crash due to importDeclContextOf returning a null decl
context in importAccessorParamsAndReturnType. Most other call sites of
importDeclContextOf check the returned value, so add a check in
importAccessorParamsAndReturnType too.
rdar://127847162
(cherry picked from commit fedf24c)1 parent 2a6d271 commit f5bd65a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3429 | 3429 | | |
3430 | 3430 | | |
3431 | 3431 | | |
3432 | | - | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
3433 | 3435 | | |
3434 | 3436 | | |
3435 | 3437 | | |
| |||
0 commit comments