Commit 2d7b7a7
authored
[Swiftify] SafeInteropWrapper crashes with 'cgImage.width' (swiftlang#80948)
* [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
* [NFC] Fix test/Interop/ObjC/swiftify-import/getter.swift1 parent 1c1f43f commit 2d7b7a7
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4745 | 4745 | | |
4746 | 4746 | | |
4747 | 4747 | | |
4748 | | - | |
| 4748 | + | |
4749 | 4749 | | |
4750 | 4750 | | |
4751 | 4751 | | |
| |||
5528 | 5528 | | |
5529 | 5529 | | |
5530 | 5530 | | |
5531 | | - | |
| 5531 | + | |
5532 | 5532 | | |
5533 | 5533 | | |
5534 | 5534 | | |
| |||
9155 | 9155 | | |
9156 | 9156 | | |
9157 | 9157 | | |
| 9158 | + | |
| 9159 | + | |
| 9160 | + | |
9158 | 9161 | | |
9159 | 9162 | | |
9160 | 9163 | | |
| |||
9570 | 9573 | | |
9571 | 9574 | | |
9572 | 9575 | | |
9573 | | - | |
| 9576 | + | |
9574 | 9577 | | |
9575 | 9578 | | |
9576 | 9579 | | |
| |||
0 commit comments