summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2014-12-24 17:59:49 -0800
committerSom Snytt <som.snytt@gmail.com>2015-02-15 20:57:13 -0800
commitb4e3becbf348bad95f48da5a94f4ddb4272b2891 (patch)
treefc07c885ef9e58078df738942be88c0bef337b4a /test/files/jvm
parentfe7867f8a7f309fe16b454fe977bd2f1870d59c2 (diff)
downloadscala-b4e3becbf348bad95f48da5a94f4ddb4272b2891.tar.gz
scala-b4e3becbf348bad95f48da5a94f4ddb4272b2891.tar.bz2
scala-b4e3becbf348bad95f48da5a94f4ddb4272b2891.zip
[backport] SI-9060 Backpatch fifth-edition names
Because the compiler and library share some code in this version, compiler must exclude xml tags that look like Scala operators, such as `<:`. This is an upstream port of: scala-xml/commit/968f7bd94e934c781c19e25847ab09ac98cfbaf6
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/unittest_xml.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/jvm/unittest_xml.scala b/test/files/jvm/unittest_xml.scala
index 106334e625..9ffd459fde 100644
--- a/test/files/jvm/unittest_xml.scala
+++ b/test/files/jvm/unittest_xml.scala
@@ -62,7 +62,9 @@ object Test {
object UtilityTest {
def run() {
assert(Utility.isNameStart('b'))
- assert(!Utility.isNameStart(':'))
+
+ // no longer: this was a convenience for the implementation, not to spec.
+ //assert(!Utility.isNameStart(':'))
val x = <foo>
<toomuchws/>