diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2005-12-05 14:33:30 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2005-12-05 14:33:30 +0000 |
commit | 0da6b578845f0799b8b1610f2cf6768f64cadcfc (patch) | |
tree | 47d0ec4fb9ec16b6c00dcd4c0597402a53221051 /test-nsc/files/run/bugs.scala | |
parent | db6216578fe6731930332389a30affe6d81a0663 (diff) | |
download | scala-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-x | test-nsc/files/run/bugs.scala | 16 |
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 |