From ad6983518dd6860564d16f5b6e99178db3cff7a2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Tue, 5 Mar 2013 10:27:41 +0100 Subject: SI-7215 Fix transpose of an empty Array[Array[T]]. --- test/files/run/t7215.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/run/t7215.scala (limited to 'test/files') 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 +} -- cgit v1.2.3