Fix Signatures.kt:buildFunctionSignature - #4961
Conversation
'buildFunctionSignature' fails when function body has KDoc.
a793350 to
68ed1a4
Compare
|
|
|
You can find information about that here: #4874. Any feedback there is more than welcome. |
874d06a to
0fea783
Compare
|
This is a fix but it's also kind of "breaking". It will force to regenerate lots of baselines. I'm ok with that but just a heads up if some maintainer wants to pospone he merge to 1.22.0. cc @cortinico |
I think we can merge this, but would be great to include a paragraph in the 'migration' section of the changelog. |
|
I think that something like this could do the trick on the changelog: We updated the baseline creation. Now the kdoc is not part of the function signature. This could create that already suppressed issues in your baseline reappear. To fix that just recreate your baseline. |
I think KDoc comments were trimmed before that too. |
Can we verify this. If we require users to regenerate baselines because of trimming of KDocs, that should be reported clearly in the changelog 👍 |
|
@cortinico No, I was wrong! Consider the issue #4767 |
Still this doesn't answer my original question: do we need to ask users to regenerate baselines? |
Yes, we do. |
For #4887 ('buildFunctionSignature' fails when function body has KDoc)