Andreas Sinz
04/19/2018, 7:20 PMoperator fun <T> Set<T>.plus(elements: Iterable<T>): Set<T>
that means it returns a new Set
that contains"strawberry", it doesn't change the original set. you need to use operator fun <T> MutableCollection<in T>.plusAssign(element: T)
which changes the original Set