Sorry to belabor the point, but apparently `setOf`...
# announcements
k
Sorry to belabor the point, but apparently
setOf
behaves differently than `listOf`:
Copy code
@Test
        internal fun `setOf creates mutable set??`() {
            assertEquals(LinkedHashSet::class, numSet::class)
            numSet as MutableSet
            numSet.add(42)
            assertTrue(numSet.contains(42))
            //assertThrows<UnsupportedOperationException> { numSet.add(42) }
        }