Commit 203ee39
authored
[Swiftify] SafeInteropWrapper crashes with 'cgImage.width' (#81075)
* [Swiftify] Fix crash calling cgImage.width
cgImage.width calls the C function, CGImageGetWidth(CGImageRef).
Swift representation and Clang representation of this function
seem to have a parameter number mismatch, causing swiftify function
to crash.
rdar://149691207
(cherry picked from commit af8579f)
* [NFC] Fix test/Interop/ObjC/swiftify-import/getter.swift1 parent c5acba5 commit 203ee39
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4686 | 4686 | | |
4687 | 4687 | | |
4688 | 4688 | | |
4689 | | - | |
| 4689 | + | |
4690 | 4690 | | |
4691 | 4691 | | |
4692 | 4692 | | |
| |||
5469 | 5469 | | |
5470 | 5470 | | |
5471 | 5471 | | |
5472 | | - | |
| 5472 | + | |
5473 | 5473 | | |
5474 | 5474 | | |
5475 | 5475 | | |
| |||
9096 | 9096 | | |
9097 | 9097 | | |
9098 | 9098 | | |
| 9099 | + | |
| 9100 | + | |
| 9101 | + | |
9099 | 9102 | | |
9100 | 9103 | | |
9101 | 9104 | | |
| |||
9511 | 9514 | | |
9512 | 9515 | | |
9513 | 9516 | | |
9514 | | - | |
| 9517 | + | |
9515 | 9518 | | |
9516 | 9519 | | |
9517 | 9520 | | |
| |||
0 commit comments