simon.vergauwen
05/15/2020, 4:27 PMchoose
constrains to Any
😄Arb.Companion.choice
. The deprecated method conflicts with new method, and if I try to specify with named arguments arbs
I get this error.fun <A> Arb.Companion.`null`(): Arb<A?> =
Arb.constant(null)
fun <A> Arb<A>.nullable(): Arb<A?> =
Arb.choice(arbs= this, Arb.`null`())
sam
05/15/2020, 4:54 PMfun <A> Arb<A>.nullable(): Arb<A?> =
Arb.choice(this, Arb.`null`())
simon.vergauwen
05/15/2020, 5:16 PM4.0.5
sam
05/15/2020, 5:17 PM