If I have the following code in a jvm desktop module:
import com.ucasoft.kcron.Cron
import com.ucasoft.kcron.core.extensions.hours
fun main() {
Cron.builder().hours(1)
}
It looks all good in the IDE but I get a compiler error:
Argument type mismatch: actual type is 'kotlin.Int', but 'com.ucasoft.kcron.core.common.TimeGroups' was expected.
Stange that it looks good in the IDE. I am using kotlin 2.0.0-Beta4.