File tree 1 file changed +2
-2
lines changed
library/src/scala/runtime
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ object DynamicTuple {
25
25
}
26
26
27
27
def dynamicToArray (self : Tuple ): Array [Object ] = (self : Any ) match {
28
- case self : Unit => Array .emptyObjectArray
29
28
case self : TupleXXL => self.toArray
30
29
case self : Product => productToArray(self)
30
+ case self : Unit => Array .emptyObjectArray
31
31
}
32
32
33
33
def dynamicToIArray (self : Tuple ): IArray [Object ] = (self : Any ) match {
34
- case self : Unit => Array .emptyObjectArray.asInstanceOf [IArray [Object ]] // TODO use IArray.emptyObjectIArray
35
34
case self : TupleXXL => self.elems
36
35
case self : Product => productToArray(self).asInstanceOf [IArray [Object ]]
36
+ case self : Unit => Array .emptyObjectArray.asInstanceOf [IArray [Object ]]
37
37
}
38
38
39
39
def productToArray (self : Product ): Array [Object ] = {
You can’t perform that action at this time.
0 commit comments