Skip to content

Commit be9450b

Browse files
committed
SI-9270 Default xml coalescing off in 2.12
By default, `-Xxml:-coalescing` as of 2.12. This commit corrects the default for future versions.
1 parent d7cf43f commit be9450b

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)