From e659affbea5daf934f2f078fd8b872930bbaa09c Mon Sep 17 00:00:00 2001 From: ilyas Date: Mon, 29 Jun 2009 16:09:59 +0000 Subject: scalap changed to treat named parameters and pa... scalap changed to treat named parameters and package objects --- test/files/scalap/implicitParam/A.scala | 3 +++ test/files/scalap/implicitParam/result.test | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 test/files/scalap/implicitParam/A.scala create mode 100644 test/files/scalap/implicitParam/result.test (limited to 'test/files/scalap/implicitParam') diff --git a/test/files/scalap/implicitParam/A.scala b/test/files/scalap/implicitParam/A.scala new file mode 100644 index 0000000000..5a5c88bc69 --- /dev/null +++ b/test/files/scalap/implicitParam/A.scala @@ -0,0 +1,3 @@ +class ImplicitParam { + def foo(i: Int)(implicit f: Float, d: Double) = 42 +} \ No newline at end of file diff --git a/test/files/scalap/implicitParam/result.test b/test/files/scalap/implicitParam/result.test new file mode 100644 index 0000000000..4d2f49e803 --- /dev/null +++ b/test/files/scalap/implicitParam/result.test @@ -0,0 +1,4 @@ +class ImplicitParam extends java.lang.Object with scala.ScalaObject { + def this() = { /* compiled code */ } + def foo(i : scala.Int)(implicit f : scala.Float, d : scala.Double) : scala.Int = { /* compiled code */ } +} \ No newline at end of file -- cgit v1.2.3