Inferred type is Int but Long was expected: missing cast in Try Kotlin / Coroutines?


#1

Hi, I’m not sure this is the right place to report this though.
I noticed that in the demonstration of the coroutines on the home page of https://kotlinlang.org/ there is a
Type mismatch: inferred type is Int but Long was expected in the argument of the delay method.


#2

Thanks for the report, we’ve fixed the issue. (kudos to @kirill_rakhman)