You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validation message is not correct in this situation. The new message will be A (block or EOL) comment inside or on same line after a 'value_parameter' is not allowed. It may be placed on a separate line above. Still this message is not really clear in this specific example but it is the best I can come up now.
There is really something weird going on in the kotlin compiler. It actually makes a difference whether the block comment is placed before or after the KDoc. When it is placed before the KDoc, it is contrary to the KDoc not a part of the value parameter. When placed after the KDoc, both the KDoc and block comment are part of the value parameter.
The latter situation is difficult to handle in certain rules. Because it is really unusual to do so, this situation is just blocked by the rule so that other rules do not have to take this into account.
Based upon https://kotlinlang.slack.com/archives/CKS3XG0LS/p1696265393123499
Given code below:
with code style
intellij_idea
results in lint violation:The text was updated successfully, but these errors were encountered: