Files
swift-mirror/test/SILGen/c_function_pointers.swift
Slava Pestov 30670f60c1 SILGen: Fix a crash when emitting @convention(c) function pointer from a closure in some cases
This fixes a regression from f26749245b.

We need to check the conversion's kind before we call
getBridgingOriginalInputType(), otherwise we will assert
or crash.

- Fixes https://github.com/swiftlang/swift/issues/86414.
2026-01-09 11:12:43 -05:00

4.3 KiB