[SR-5614] 'NS_EXTENSIBLE_STRING_ENUM' on a typedef NSString
crashes the compiler / source editor
#48184
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
good first issue
Good for newcomers
Additional Detail from JIRA
md5: 33a70857ae6c904b290f3da46b6bc3e1
Issue Description:
Putting this code in a bridging header:
will crash the compiler if
MyString
is mentioned. The problem is thatSwiftDeclConverter::importSwiftNewtype
doesn't check thatimportType
succeeds. If it fails, we can just drop the whole typedef by returningnullptr
.The text was updated successfully, but these errors were encountered: