From b31ceb487d7487a64c7d9955e1422bdc939f7998 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Sun, 25 Feb 2007 17:24:34 +0000 Subject: * fixed x @ unapplypat binding * added Node.unapply, QNode.unapply --- test/files/jvm/xmlmore.scala | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/files/jvm/xmlmore.scala b/test/files/jvm/xmlmore.scala index c6322bc1ef..0ba60b05b7 100644 --- a/test/files/jvm/xmlmore.scala +++ b/test/files/jvm/xmlmore.scala @@ -17,4 +17,13 @@ Ours is the portal of hope, come as you are." Console println crz // this guy will escaped, and rightly so Console println nazim Console println "End Test" + + match { + case scala.xml.QNode("gaga","foo",md,child@_*) => + } + + match { + case scala.xml.Node("foo",md,child@_*) => + } + } -- cgit v1.2.3