Gross stdlib cleanup (part 2) (#1924)

This commit is contained in:
Nikolay Igotti
2018-08-24 10:14:10 +03:00
committed by GitHub
parent 6d4218c3af
commit 59eae5e04b
60 changed files with 135 additions and 165 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ important invariant that object is either immutable or
accessible from the single thread at the moment (`mutable XOR global`).
Immutability is the runtime property in Kotlin/Native, and can be applied
to an arbitrary object subgraph using `konan.worker.freeze` function.
to an arbitrary object subgraph using `kotlin.native.concurrent.freeze` function.
It makes all objects reachable from the given one immutable, and
such a transition is a one way operation (object cannot be unfrozen later).
Some naturally immutable objects, such as `kotlin.String`, `kotlin.Int` and