diff options
author | Dan Rosen <dr@mergeconflict.com> | 2013-03-09 12:56:38 -0800 |
---|---|---|
committer | Dan Rosen <dr@mergeconflict.com> | 2013-03-09 12:56:38 -0800 |
commit | eb365f9158f29c61410affde21c8f3cd0c6db08f (patch) | |
tree | 40ab4901cdde27b47125212398106f183ec79167 /test/files/run/repl-colon-type.scala | |
parent | d4b46f6e42c8124c54af56c0a3c1ac39b46b2c52 (diff) | |
download | scala-eb365f9158f29c61410affde21c8f3cd0c6db08f.tar.gz scala-eb365f9158f29c61410affde21c8f3cd0c6db08f.tar.bz2 scala-eb365f9158f29c61410affde21c8f3cd0c6db08f.zip |
SI-7132 - don't discard Unit type in interpreter
Diffstat (limited to 'test/files/run/repl-colon-type.scala')
-rw-r--r-- | test/files/run/repl-colon-type.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/repl-colon-type.scala b/test/files/run/repl-colon-type.scala index c055b215c2..8cf81a6afe 100644 --- a/test/files/run/repl-colon-type.scala +++ b/test/files/run/repl-colon-type.scala @@ -26,6 +26,10 @@ object Test extends ReplTest { |:type -v Nil.combinations _ |:type -v def f[T <: AnyVal] = List[T]().combinations _ |:type -v def f[T, U >: T](x: T, y: List[U]) = x :: y + | + |// SI-7132 - :type doesn't understand Unit + |:type () + |:type println("side effect!") """.stripMargin } |