We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678fb02 commit 0732c41Copy full SHA for 0732c41
library/src/scala/collection/immutable/ArraySeq.scala
@@ -193,7 +193,7 @@ object ArraySeq extends StrictOptimizedClassTagSeqFactory[ArraySeq] { self =>
193
194
/**
195
* Wrap an existing `Array` into an `ArraySeq` of the proper primitive specialization type
196
- * without copying.
+ * without copying. Any changes to wrapped array will break the expected immutability.
197
*
198
* Note that an array containing boxed primitives can be wrapped in an `ArraySeq` without
199
* copying. For example, `val a: Array[Any] = Array(1)` is an array of `Object` at runtime,
0 commit comments