Open sanyavertolet opened 1 year ago
I have seen similar problems when investigating/resolving https://github.com/pinterest/ktlint/issues/1981.
I have seen similar problems when investigating/resolving pinterest/ktlint#1981.
Thank you, this is important, we will have a look
Created a branch with tests which reproduce the issue: https://github.com/saveourtool/diktat/tree/bugfix/error-kdoc-fixing%231650
Looks like @property
leads to invalid detecting a prev node before @return
or @throw
Describe the bug
Got exception on
./gradlew diktatFix
on code like:
Expected behavior
Either replace
@property
with@param
or message like that:Observed behavior
Exception that leads to diktat crush
Reproducer
Environment information
1.2.5
gradle
diktat-gradle-plugin
1.8.20
macOS