summaryrefslogtreecommitdiff
path: root/test/files/pos/t5858.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-12-08 08:25:55 +0100
committerJason Zaugg <jzaugg@gmail.com>2012-12-08 08:25:55 +0100
commit7d5dc08826079059d7f63f35d785a92ab0807d2d (patch)
treefcb7d235b440abc088b284baff0c8cc512076831 /test/files/pos/t5858.scala
parentb1cb6578bdbdfaa66d3cf09f40dfc1511f7e9711 (diff)
downloadscala-7d5dc08826079059d7f63f35d785a92ab0807d2d.tar.gz
scala-7d5dc08826079059d7f63f35d785a92ab0807d2d.tar.bz2
scala-7d5dc08826079059d7f63f35d785a92ab0807d2d.zip
SI-5858 xml.Node construction ambiguity is gone.
Test case to show that the fix for SI-5859 saves the day.
Diffstat (limited to 'test/files/pos/t5858.scala')
-rw-r--r--test/files/pos/t5858.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/t5858.scala b/test/files/pos/t5858.scala
new file mode 100644
index 0000000000..f2b0f58d76
--- /dev/null
+++ b/test/files/pos/t5858.scala
@@ -0,0 +1,3 @@
+object Test {
+ new xml.Elem(null, null, xml.Null, xml.TopScope, Nil: _*) // was ambiguous
+}