aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/config
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-02-16 08:35:27 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-17 18:39:48 +0100
commit9b45420d2b3193469931b15406d382c499fbb453 (patch)
treeae3ad0c541f83258bf4ba8088dea200ddafd2d62 /src/dotty/tools/dotc/config
parent41079cd8e196817048812a51041086b31908fcc3 (diff)
downloaddotty-9b45420d2b3193469931b15406d382c499fbb453.tar.gz
dotty-9b45420d2b3193469931b15406d382c499fbb453.tar.bz2
dotty-9b45420d2b3193469931b15406d382c499fbb453.zip
Remove interpreterSettings logic
Seems to be overkill for the current interpreter. The only thing that was needed was a configrable linewidth. A plain setting works fine for this and is in line with the way things are done elsewhere.
Diffstat (limited to 'src/dotty/tools/dotc/config')
-rw-r--r--src/dotty/tools/dotc/config/ScalaSettings.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/config/ScalaSettings.scala b/src/dotty/tools/dotc/config/ScalaSettings.scala
index 035b20130..65bc9ba23 100644
--- a/src/dotty/tools/dotc/config/ScalaSettings.scala
+++ b/src/dotty/tools/dotc/config/ScalaSettings.scala
@@ -89,7 +89,7 @@ class ScalaSettings extends Settings.SettingGroup {
val showPhases = BooleanSetting("-Xshow-phases", "Print a synopsis of compiler phases.")
val sourceReader = StringSetting("-Xsource-reader", "classname", "Specify a custom method for reading source files.", "")
val XnoValueClasses = BooleanSetting("-Xno-value-classes", "Do not use value classes. Helps debugging.")
-
+ val XreplLineWidth = IntSetting("-Xrepl-line-width", "Maximial number of columns per line for REPL output", 390)
val XoldPatmat = BooleanSetting("-Xoldpatmat", "Use the pre-2.10 pattern matcher. Otherwise, the 'virtualizing' pattern matcher is used in 2.10.")
val XnoPatmatAnalysis = BooleanSetting("-Xno-patmat-analysis", "Don't perform exhaustivity/unreachability analysis. Also, ignore @switch annotation.")
val XfullLubs = BooleanSetting("-Xfull-lubs", "Retains pre 2.10 behavior of less aggressive truncation of least upper bounds.")