summaryrefslogtreecommitdiff
path: root/test-nsc/files/run/bugs.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2005-12-05 14:33:30 +0000
committerIulian Dragos <jaguarul@gmail.com>2005-12-05 14:33:30 +0000
commit0da6b578845f0799b8b1610f2cf6768f64cadcfc (patch)
tree47d0ec4fb9ec16b6c00dcd4c0597402a53221051 /test-nsc/files/run/bugs.scala
parentdb6216578fe6731930332389a30affe6d81a0663 (diff)
downloadscala-0da6b578845f0799b8b1610f2cf6768f64cadcfc.tar.gz
scala-0da6b578845f0799b8b1610f2cf6768f64cadcfc.tar.bz2
scala-0da6b578845f0799b8b1610f2cf6768f64cadcfc.zip
Added primitive operations to (Byte|Char|Short|...
Added primitive operations to (Byte|Char|Short|Int).java so that less boxing is done.
Diffstat (limited to 'test-nsc/files/run/bugs.scala')
-rwxr-xr-xtest-nsc/files/run/bugs.scala16
1 files changed, 0 insertions, 16 deletions
diff --git a/test-nsc/files/run/bugs.scala b/test-nsc/files/run/bugs.scala
index 95e66877bd..2398f23d13 100755
--- a/test-nsc/files/run/bugs.scala
+++ b/test-nsc/files/run/bugs.scala
@@ -319,22 +319,6 @@ object Bug257Test {
}
}
-object Bug257Test {
- def sayhello(): Unit = { Console.println("hello"); };
-
- def f1(x: Unit): Unit = ();
- def f2(x: Unit)(y: Unit): Unit = ();
-
- def f(x: => Unit) = {
- f1(x);
- f2(x);
- }
-
- def main(args: Array[String]): Unit = {
- f(sayhello())
- }
-}
-
//############################################################################
// Bug 266