diff options
author | ilyas <ilyas@epfl.ch> | 2009-06-29 16:09:59 +0000 |
---|---|---|
committer | ilyas <ilyas@epfl.ch> | 2009-06-29 16:09:59 +0000 |
commit | e659affbea5daf934f2f078fd8b872930bbaa09c (patch) | |
tree | 8bc757562f2ab5ddcca47b2663821993cdcc92dd /test/files/scalap/paramNames | |
parent | 91643c355b853e9bdfb70a5afab426a3537bfc1d (diff) | |
download | scala-e659affbea5daf934f2f078fd8b872930bbaa09c.tar.gz scala-e659affbea5daf934f2f078fd8b872930bbaa09c.tar.bz2 scala-e659affbea5daf934f2f078fd8b872930bbaa09c.zip |
scalap changed to treat named parameters and pa...
scalap changed to treat named parameters and package objects
Diffstat (limited to 'test/files/scalap/paramNames')
-rw-r--r-- | test/files/scalap/paramNames/A.scala | 3 | ||||
-rw-r--r-- | test/files/scalap/paramNames/result.test | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/scalap/paramNames/A.scala b/test/files/scalap/paramNames/A.scala new file mode 100644 index 0000000000..7ba9ff0feb --- /dev/null +++ b/test/files/scalap/paramNames/A.scala @@ -0,0 +1,3 @@ +class ParamNames { + def foo (s: => Seq[Int], s2: => Seq[Any]) {} +} diff --git a/test/files/scalap/paramNames/result.test b/test/files/scalap/paramNames/result.test new file mode 100644 index 0000000000..59565dc782 --- /dev/null +++ b/test/files/scalap/paramNames/result.test @@ -0,0 +1,4 @@ +class ParamNames extends java.lang.Object with scala.ScalaObject { + def this() = { /* compiled code */ } + def foo(s : => scala.Seq[scala.Int], s2 : => scala.Seq[scala.Any]) : scala.Unit = { /* compiled code */ } +}
\ No newline at end of file |