[SR-9789] Use "pretty" nullability in generated ObjC headers #52214
Labels
compiler
The Swift compiler itself
good first issue
Good for newcomers
improvement
PrintAsClang
Area → compiler: The PrintAsClang library
Additional Detail from JIRA
md5: 0bc925759fd7590c0a91c67c7a5de68f
Issue Description:
Objective-C supports two "pretty" forms for nullability qualifiers: within the parentheses of a method's parameters or return type:
And in the property attributes list for a property:
PrintAsObjC should adopt these where valid; right now it only uses them in hardcoded cases for
instancetype
.The text was updated successfully, but these errors were encountered: