File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/scala/runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ object DynamicTuple {
2525 }
2626
2727 def dynamicToArray (self : Tuple ): Array [Object ] = (self : Any ) match {
28- case self : Unit => Array .emptyObjectArray
2928 case self : TupleXXL => self.toArray
3029 case self : Product => productToArray(self)
30+ case self : Unit => Array .emptyObjectArray
3131 }
3232
3333 def dynamicToIArray (self : Tuple ): IArray [Object ] = (self : Any ) match {
34- case self : Unit => Array .emptyObjectArray.asInstanceOf [IArray [Object ]] // TODO use IArray.emptyObjectIArray
3534 case self : TupleXXL => self.elems
3635 case self : Product => productToArray(self).asInstanceOf [IArray [Object ]]
36+ case self : Unit => Array .emptyObjectArray.asInstanceOf [IArray [Object ]]
3737 }
3838
3939 def productToArray (self : Product ): Array [Object ] = {
You can’t perform that action at this time.
0 commit comments