Join Slack
Powered by
Is it expected that `freeze()` does not freeze ite...
# kotlin-native
s
saket
08/16/2021, 3:30 AM
Is it expected that
freeze()
does not freeze items inside a collection?
n
Nikolay Kasyanov
08/16/2021, 10:37 AM
is the collection created in Swift/Obj-C?
k
kpgalligan
08/16/2021, 1:47 PM
Freeze should freeze everything, including items in a collection (unless as
@Nikolay Kasyanov
asked, if the collection is not a kotlin collection)
s
saket
08/16/2021, 2:17 PM
ohh that makes sense, yep I was creating my collection from swift. didn’t realize I’ll have to call freeze from swift too.
n
Nikolay Kasyanov
08/16/2021, 2:36 PM
yeah that’s a bummer indeed
s
saket
08/16/2021, 3:00 PM
thank you both!
4
Views
Open in Slack
Previous
Next