fix for Vector from Dean (ticket #155)
This commit is contained in:
parent
ca83d0af64
commit
7f9a9c7130
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ object Vector {
|
|||
@inline
|
||||
private[stm] def array(elems: AnyRef*) = {
|
||||
val back = new Array[AnyRef](elems.length)
|
||||
Array.copy(elems, 0, back, 0, back.length)
|
||||
Array.copy(elems.toArray, 0, back, 0, back.length)
|
||||
|
||||
back
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue