diff options
author | michelou <michelou@epfl.ch> | 2008-06-10 08:46:06 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-06-10 08:46:06 +0000 |
commit | a4baf28d203959457d82762e27ffbb7104dc0a07 (patch) | |
tree | 7b249d126396b87cd937da6cd564000b8a6051de /test/files/run/retsynch.scala | |
parent | 113c79559555dd408ea76da5f462025536cbd7d6 (diff) | |
download | scala-a4baf28d203959457d82762e27ffbb7104dc0a07.tar.gz scala-a4baf28d203959457d82762e27ffbb7104dc0a07.tar.bz2 scala-a4baf28d203959457d82762e27ffbb7104dc0a07.zip |
int -> Int, etc..
Diffstat (limited to 'test/files/run/retsynch.scala')
-rw-r--r-- | test/files/run/retsynch.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/retsynch.scala b/test/files/run/retsynch.scala index d6398cf28e..7735df7d96 100644 --- a/test/files/run/retsynch.scala +++ b/test/files/run/retsynch.scala @@ -1,6 +1,6 @@ object Test { - def abs(x:int): int = synchronized { - if(x > 0) + def abs(x: Int): Int = synchronized { + if (x > 0) return x return -x } |