Skip to content

Commit a21253f

Browse files
committed
Merge pull request scala#3215 from retronym/ticket/7373
SI-7373 Make the constructor of Vector non-public
2 parents 2d87057 + 1071d0c commit a21253f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/collection/immutable/Vector.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ object Vector extends IndexedSeqFactory[Vector] {
5959
* @define mayNotTerminateInf
6060
* @define willNotTerminateInf
6161
*/
62-
final class Vector[+A](private[collection] val startIndex: Int, private[collection] val endIndex: Int, focus: Int)
62+
final class Vector[+A] private[immutable] (private[collection] val startIndex: Int, private[collection] val endIndex: Int, focus: Int)
6363
extends AbstractSeq[A]
6464
with IndexedSeq[A]
6565
with GenericTraversableTemplate[A, Vector]

0 commit comments

Comments
 (0)