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.
2 parents f0f57a5 + 0732c41 commit 4375e68Copy full SHA for 4375e68
library/src/scala/collection/immutable/ArraySeq.scala
@@ -239,7 +239,7 @@ object ArraySeq extends StrictOptimizedClassTagSeqFactory[ArraySeq] { self =>
239
240
/**
241
* Wrap an existing `Array` into an `ArraySeq` of the proper primitive specialization type
242
- * without copying.
+ * without copying. Any changes to wrapped array will break the expected immutability.
243
*
244
* Note that an array containing boxed primitives can be wrapped in an `ArraySeq` without
245
* copying. For example, `val a: Array[Any] = Array(1)` is an array of `Object` at runtime,
0 commit comments