diff options
author | Paul Phillips <paulp@improving.org> | 2011-05-14 16:54:42 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-05-14 16:54:42 +0000 |
commit | c989273edb4302762ac41cb799862cd2f4c8fcc8 (patch) | |
tree | 1956b60bb4497d9c32512b2f689d99b7d154e189 /test/files/run | |
parent | 48e96634892328aa2c2cf4a85fd67edaa3e5aeed (diff) | |
download | scala-c989273edb4302762ac41cb799862cd2f4c8fcc8.tar.gz scala-c989273edb4302762ac41cb799862cd2f4c8fcc8.tar.bz2 scala-c989273edb4302762ac41cb799862cd2f4c8fcc8.zip |
Fix for view+groupBy closes #4558, no review.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/bug4558.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/bug4558.scala b/test/files/run/bug4558.scala new file mode 100644 index 0000000000..e7661421dc --- /dev/null +++ b/test/files/run/bug4558.scala @@ -0,0 +1,6 @@ +object Test { + def main(args: Array[String]): Unit = { + val xs = Seq(1,2,3).view.groupBy(identity) + assert(xs.size == 3) + } +} |