summaryrefslogtreecommitdiff
path: root/test/neg/bug47.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug47.scala')
-rw-r--r--test/neg/bug47.scala13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/neg/bug47.scala b/test/neg/bug47.scala
deleted file mode 100644
index fac1037802..0000000000
--- a/test/neg/bug47.scala
+++ /dev/null
@@ -1,13 +0,0 @@
-// this is not possible
-
-object Test {
-
- class Elem;
- class MySuperXML_Tag( children: Elem* ) extends Elem;
-
- val factory = new HashMap( String, Elem* => Elem )
- factory.put("MySuperXML_Tag", MySuperXML_Tag )
-// ^
-// error "methods with repeated args have to be
-// fully applied"
-}