Expected Behavior
This code should not raise any NamedArguments issue:
import org.joda.time.DateTime
DateTime(2020, 3, 13, 14, 0, 0)
Observed Behavior
It does
Context
If you use a java function in kotlin you can't use NamedArguments so there is no way to fix this.
Your Environment
- Version of detekt used: 1.15.0-RC1