This reproduces an issue where method signatures in the detekt baseline appear differently depending on whether the method has a doc comment.
To reproduce the problem:
- Run
./gradlew detekt
and observe that it passes - Edit
Example.kt
to remove the method-level doc comment - Run detekt again and observe that if fails
- Run
./gradlew detektBaseline
and observe that thebaseline.xml
changes