CLOVIS
01/19/2023, 8:39 PMshift
is declared as returning a value:
suspend fun <B> shift(r: R): B
I thought shift
could only ever short-circuit the operation (thus returning Nothing
)? That's how I use it in my code, and IntelliJ warns with "Returning type parameter has been inferred to Nothing implicitly. Please specify type arguments explicitly to hide this warning."simon.vergauwen
01/20/2023, 8:19 AMcarbaj0
01/20/2023, 11:05 AM