[cxx-interop] do not rely on bodyParams being always non-null when im… #76286
[cxx-interop] do not rely on bodyParams being always non-null when im…
86886d96
compnerd
approved these changes
on 2024-09-05
egorzhdan
approved these changes
on 2024-09-05
hyp
merged
8ea7569b
into main 305 days ago
Assignees
No one assigned
…porting function's name
This change fixes a swift-ide-test crash that occured in the Interop\Cxx\stdlib\msvcprt-module-interface.swift testcase with a newer MSVC, as one of its operator() had a parameter with a type that couldn't have been imported. The change ensures that body params are not used if they're null.