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/wildcardType/A.scala | 1 + test/files/scalap/wildcardType/result.test | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/files/scalap/wildcardType/A.scala create mode 100644 test/files/scalap/wildcardType/result.test (limited to 'test/files/scalap/wildcardType') diff --git a/test/files/scalap/wildcardType/A.scala b/test/files/scalap/wildcardType/A.scala new file mode 100644 index 0000000000..d99841cb36 --- /dev/null +++ b/test/files/scalap/wildcardType/A.scala @@ -0,0 +1 @@ +class WildcardType(f: Int => _) \ No newline at end of file diff --git a/test/files/scalap/wildcardType/result.test b/test/files/scalap/wildcardType/result.test new file mode 100644 index 0000000000..78a24ef22a --- /dev/null +++ b/test/files/scalap/wildcardType/result.test @@ -0,0 +1,3 @@ +class WildcardType extends java.lang.Object with scala.ScalaObject { + def this(f : scala.Function1[scala.Int, _]) = { /* compiled code */ } +} \ No newline at end of file -- cgit v1.2.3