Norbi
03/27/2023, 5:57 AMrecover()
calls like: None of the following functions can be called with the arguments supplied.
I just can't figure out what change between these version that causes the problem...
Thanks.simon.vergauwen
03/27/2023, 6:01 AMalpha
, we had some inconsistencies in the parameter names and we aligned them. So if you're using named parameters for the lambdas you need to update accordingly.
fun Raise<String>.failure(): Int = raise("failure")
recover(
block = { failure() },
recover = { -1 }
) shouldBe -1
block
for such lambda parameters.Norbi
03/27/2023, 6:09 AMsimon.vergauwen
03/27/2023, 6:10 AMalpha
and providing feedback 🙌