Closed
Description
It seems that the Kotlin compiler between 1.5.21
and 1.5.31
changed a lot. I'm updating the project where I work from 1.18.1
to 1.19.1-RC1
and I'm getting a lot of false-positives and false-negative in different rules. Some examples:
- DoubleMutabilityForCollection
- ImplicitUnitReturnType
- HasPlatformType
- MissingWhenCase
- RedundantSuspendModifier
- ReplaceSafeCallChainWithRun
- UnnecessaryLet
- UnreachableCode
- UnsafeCast
- UnusedPrivateMember
I think that all of them are related with the type-solving and problems in the BindingContext
that end up creating false positive and negative issues. Until now, in general, this type of problems generated false-negatives. Those are bad, but at least they don't generate noise. But with this release I'm seeing a lot of false-positives too.