From cef268814af8845b5879130a9b64d772e75163b3 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Mon, 19 May 2008 18:05:33 +0000 Subject: More deprecation warnings fixed. --- test/files/run/interpreter.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/files/run/interpreter.scala') 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 = // 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) -- cgit v1.2.3