Skip to content

Commit 21209bf

Browse files
author
Antonio Cunei
committed
Backport of part of r24162 (MutableSettings.sca...
Backport of part of r24162 (MutableSettings.scala), as requested by Luc.
1 parent 0ee1c50 commit 21209bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ class MutableSettings(val errorFn: String => Unit) extends AbsSettings with Scal
533533
}
534534
def unparse: List[String] =
535535
if (value == default) Nil else List(name + ":" + value)
536+
override def tryToSetFromPropertyValue(s: String) = tryToSetColon(s::Nil)
536537

537538
withHelpSyntax(name + ":<" + argument + ">")
538539
}

0 commit comments

Comments
 (0)