summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2015-04-08 09:49:31 -0700
committerSom Snytt <som.snytt@gmail.com>2015-04-08 13:40:26 -0700
commitef7b5524a7d6a2da82c32f16632ed2304130f32a (patch)
tree6c11c70df7cf03cfb79760d25ae3f8edf2daec40
parent996d066bb3ef0fc91acab18a5502bb649929881a (diff)
downloadscala-ef7b5524a7d6a2da82c32f16632ed2304130f32a.tar.gz
scala-ef7b5524a7d6a2da82c32f16632ed2304130f32a.tar.bz2
scala-ef7b5524a7d6a2da82c32f16632ed2304130f32a.zip
SI-3368 Review
Verbose option help and test tweak.
-rw-r--r--src/compiler/scala/tools/nsc/settings/ScalaSettings.scala2
-rwxr-xr-xtest/files/run/t5699.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
index b783e80db9..f217d21c35 100644
--- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
+++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
@@ -141,7 +141,7 @@ trait ScalaSettings extends AbsScalaSettings
// XML parsing options
object XxmlSettings extends MultiChoiceEnumeration {
- val coalescing = Value
+ val coalescing = Choice("coalescing", "Convert PCData to Text and coalesce sibling nodes")
def isCoalescing = Xxml contains coalescing
}
val Xxml = MultiChoiceSetting(
diff --git a/test/files/run/t5699.scala b/test/files/run/t5699.scala
index ede6fefe48..409bcd250c 100755
--- a/test/files/run/t5699.scala
+++ b/test/files/run/t5699.scala
@@ -7,7 +7,7 @@ object Test extends ParserTest {
|public @interface MyAnnotation { String value(); }
""".stripMargin
- override def extraSettings: String = "-usejavacp -Ystop-after:typer -Xprint:parser"
+ override def extraSettings: String = "-usejavacp -Ystop-after:namer -Xprint:parser"
override def newSources(sourceCodes: String*) = {
assert(sourceCodes.size == 1)