Thomas
08/05/2019, 7:06 PMDuration
in my project but keep getting the following compile error. I am unable to reproduce it in a new project when using Duration
. Can anyone see what’s wrong?import kotlin.time.Duration
class DurationExample {
var duration: Duration? = null
}
If I put this in a new project it works fine.Sergey Chelombitko
08/05/2019, 8:33 PM@UseExperimental(ExperimentalTime::class)
?Thomas
08/05/2019, 8:35 PMDico
08/05/2019, 11:52 PMilya.gorbunov
08/06/2019, 1:08 AMThomas
08/06/2019, 8:18 AM