Gavin Ray
03/19/2022, 7:21 PMand((MutableCollection<out Condition!>..Collection<Condition!>?))
I think this means "A type with a lower-bounds of MutableCollection<out Condition!>
and an upper-bounds of `Collection<Condition!>?`"
But if that is true, then explicitly casting to either of those should have made it work, which it doesn't (as you see in the image) 🤔 😕Carlos Ballesteros (InVideo)
03/19/2022, 9:14 PMval x: MutableCollection<Condition>
?phldavies
03/19/2022, 9:36 PMreturn add(*conds.toTypedArray())
Gavin Ray
03/20/2022, 3:34 PMCollection
or MutableCollection
doesn't