simon.vergauwen
05/15/2020, 4:27 PMchoose constrains to Any 😄simon.vergauwen
05/15/2020, 4:34 PMArb.Companion.choice. The deprecated method conflicts with new method, and if I try to specify with named arguments arbs I get this error.simon.vergauwen
05/15/2020, 4:34 PMfun <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`())sam
05/15/2020, 4:54 PMsimon.vergauwen
05/15/2020, 5:16 PM4.0.5sam
05/15/2020, 5:17 PM