diff options
author | michelou <michelou@epfl.ch> | 2008-05-20 14:25:02 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-05-20 14:25:02 +0000 |
commit | 3a0b0d40d7be5fb100a1b061aab54a4d4a51ae60 (patch) | |
tree | b8bae307ad9df5c04ff7a8d68a9be755a1a6a748 /test/files/pos/bug245.scala | |
parent | c1f07338ed21e551446a5c98d262d738a9b7b0ce (diff) | |
download | scala-3a0b0d40d7be5fb100a1b061aab54a4d4a51ae60.tar.gz scala-3a0b0d40d7be5fb100a1b061aab54a4d4a51ae60.tar.bz2 scala-3a0b0d40d7be5fb100a1b061aab54a4d4a51ae60.zip |
int -> Int, etc..
Diffstat (limited to 'test/files/pos/bug245.scala')
-rw-r--r-- | test/files/pos/bug245.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/pos/bug245.scala b/test/files/pos/bug245.scala index b33dd9914f..570ac4178d 100644 --- a/test/files/pos/bug245.scala +++ b/test/files/pos/bug245.scala @@ -2,15 +2,15 @@ class Value {} object Test { - implicit def view(v: Value): int = 0; + implicit def view(v: Value): Int = 0 - def foo(i: Int): Int = 0; + def foo(i: Int): Int = 0 - def fun0 : Value = null; - def fun0(i: Int ): Value = null; + def fun0 : Value = null + def fun0(i: Int ): Value = null - def fun1(i: Int ): Value = null; - def fun1(l: Long): Value = null; + def fun1(i: Int ): Value = null + def fun1(l: Long): Value = null foo(fun0 ); foo(fun1(new Value)); |