Skip to content

Commit d5f5b26

Browse files
committed
Merge pull request scala#4660 from som-snytt/issue/9270
SI-9270 Default xml coalescing off in 2.12
2 parents 15df28f + be9450b commit d5f5b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/settings/ScalaSettings.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ trait ScalaSettings extends AbsScalaSettings
140140
// XML parsing options
141141
object XxmlSettings extends MultiChoiceEnumeration {
142142
val coalescing = Choice("coalescing", "Convert PCData to Text and coalesce sibling nodes")
143-
def isCoalescing = (Xxml contains coalescing) || (!isScala212 && !Xxml.isSetByUser)
143+
def isCoalescing = Xxml contains coalescing
144144
}
145145
val Xxml = MultiChoiceSetting(
146146
name = "-Xxml",

0 commit comments

Comments
 (0)