[SR-10522] Renaming parameters to avoid C(++) keywords means doc comments don't match up anymore #52922
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
PrintAsClang
Area → compiler: The PrintAsClang library
Additional Detail from JIRA
md5: 364cc7f801ac27ba79b26793c19549c9
Issue Description:
If you have this code in Swift:
it'll end up putting this in the ObjC generated header:
The parameter name "template" got renamed to "template_", but the docs didn't get updated. Either PrintAsObjC's
printDocumentationComment
should account for this, oride::getDocumentationCommentAsDoxygen
should assume it needs to do the same kind of escaping that PrintAsObjC does. (The first is probably better.)The text was updated successfully, but these errors were encountered: