summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-02-25 17:24:34 +0000
committerBurak Emir <emir@epfl.ch>2007-02-25 17:24:34 +0000
commitb31ceb487d7487a64c7d9955e1422bdc939f7998 (patch)
treec65676eee6fcabc6217e046453e2c3732b2e54eb /test
parent790842fe3067c1b3f99ccede6bf6c19fc532289b (diff)
downloadscala-b31ceb487d7487a64c7d9955e1422bdc939f7998.tar.gz
scala-b31ceb487d7487a64c7d9955e1422bdc939f7998.tar.bz2
scala-b31ceb487d7487a64c7d9955e1422bdc939f7998.zip
* fixed x @ unapplypat binding
* added Node.unapply, QNode.unapply
Diffstat (limited to 'test')
-rw-r--r--test/files/jvm/xmlmore.scala9
1 files changed, 9 insertions, 0 deletions
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"
+
+ <x:foo xmlns:x="gaga"/> match {
+ case scala.xml.QNode("gaga","foo",md,child@_*) =>
+ }
+
+ <x:foo xmlns:x="gaga"/> match {
+ case scala.xml.Node("foo",md,child@_*) =>
+ }
+
}