saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
516 stars 38 forks source link

KDOC_NEWLINES_BEFORE_BASIC_TAGS is not fixing a newline problem from the first run #1884

Open orchestr7 opened 6 months ago

orchestr7 commented 6 months ago

/**
 * This class can be used for reading [Source] in TOML format
 * @property serializersModule
 */
@OptIn(ExperimentalSerializationApi::class)
public open class TomlSourceReader(
    inputConfig: TomlInputConfig = TomlInputConfig(),
    outputConfig: TomlOutputConfig = TomlOutputConfig(),
    override val serializersModule: SerializersModule = EmptySerializersModule()
) : Toml(
    inputConfig,
    outputConfig,
    serializersModule
) { }

Correctly causes KDOC_NEWLINES_BEFORE_BASIC_TAGS error. But why it is not automatically fixed from the first run?