summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-05 08:17:25 -0800
committerPaul Phillips <paulp@improving.org>2013-03-05 08:17:25 -0800
commit773f6a8df9ef95852918a706f3f19ebf0431baa8 (patch)
tree74ed6d735d07b11ab7c5abaf13adf0e62d744f8a /test/files
parent9b0dbdf4d788c0de7f9afb6c4a72c82727615ba8 (diff)
parentad6983518dd6860564d16f5b6e99178db3cff7a2 (diff)
downloadscala-773f6a8df9ef95852918a706f3f19ebf0431baa8.tar.gz
scala-773f6a8df9ef95852918a706f3f19ebf0431baa8.tar.bz2
scala-773f6a8df9ef95852918a706f3f19ebf0431baa8.zip
Merge pull request #2198 from retronym/ticket/7215
SI-7215 Fix transpose of an empty Array[Array[T]].
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t7215.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7215.scala b/test/files/run/t7215.scala
new file mode 100644
index 0000000000..c93e97f9c8
--- /dev/null
+++ b/test/files/run/t7215.scala
@@ -0,0 +1,6 @@
+object Test extends App {
+ List[List[Any]]().transpose.isEmpty
+ Array[Array[Any]]().transpose.isEmpty
+ Vector[Vector[Any]]().transpose.isEmpty
+ Stream[Stream[Any]]().transpose.isEmpty
+}