summaryrefslogtreecommitdiff
path: root/test/files/run/interpreter.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-05-19 18:05:33 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-05-19 18:05:33 +0000
commitcef268814af8845b5879130a9b64d772e75163b3 (patch)
tree9163649df167be1208532b0db7f21893664139ad /test/files/run/interpreter.scala
parentf1954d9a3570572f5b79511c4eec7b6ceb7a9dd1 (diff)
downloadscala-cef268814af8845b5879130a9b64d772e75163b3.tar.gz
scala-cef268814af8845b5879130a9b64d772e75163b3.tar.bz2
scala-cef268814af8845b5879130a9b64d772e75163b3.zip
More deprecation warnings fixed.
Diffstat (limited to 'test/files/run/interpreter.scala')
-rw-r--r--test/files/run/interpreter.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala
index b239b253cf..13abc565f7 100644
--- a/test/files/run/interpreter.scala
+++ b/test/files/run/interpreter.scala
@@ -6,7 +6,7 @@ object Test {
val testCodeString = <code>
// basics
3+4
-def gcd(x: int, y: int): int = {{
+def gcd(x: Int, y: Int): Int = {{
if (x == 0) y
else if (y == 0) x
else gcd(y%x, x)
@@ -23,8 +23,8 @@ val (x,y) = (2,3)
println("hello")
// implicit conversions
-case class Foo(n: int)
-case class Bar(n: int)
+case class Foo(n: Int)
+case class Bar(n: Int)
implicit def foo2bar(foo: Foo) = Bar(foo.n)
val bar: Bar = Foo(3)