summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/internal/settings/MutableSettings.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-11 23:01:51 +0000
committerPaul Phillips <paulp@improving.org>2011-07-11 23:01:51 +0000
commita10f699d7c443e83472e262ae77a3fe7d9cdc1ba (patch)
treeaa3e2915847359e0b3243d937736ce3cc60166cf /src/compiler/scala/reflect/internal/settings/MutableSettings.scala
parente3085dadb3cbb1c416779ddec9d57f9467887a5a (diff)
downloadscala-a10f699d7c443e83472e262ae77a3fe7d9cdc1ba.tar.gz
scala-a10f699d7c443e83472e262ae77a3fe7d9cdc1ba.tar.bz2
scala-a10f699d7c443e83472e262ae77a3fe7d9cdc1ba.zip
Seeing about getting trunk building again, no r...
Seeing about getting trunk building again, no review.
Diffstat (limited to 'src/compiler/scala/reflect/internal/settings/MutableSettings.scala')
-rw-r--r--src/compiler/scala/reflect/internal/settings/MutableSettings.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/reflect/internal/settings/MutableSettings.scala b/src/compiler/scala/reflect/internal/settings/MutableSettings.scala
index bd4a4bbd40..f74654efed 100644
--- a/src/compiler/scala/reflect/internal/settings/MutableSettings.scala
+++ b/src/compiler/scala/reflect/internal/settings/MutableSettings.scala
@@ -17,8 +17,8 @@ abstract class MutableSettings extends AbsSettings {
trait SettingValue extends AbsSettingValue {
protected var v: T = _
protected var setByUser: Boolean = false
- def postSetHook(): Unit = {}
+ def postSetHook(): Unit = ()
def isDefault: Boolean = !setByUser
def value: T = v
def value_=(arg: T) = {
@@ -28,6 +28,7 @@ abstract class MutableSettings extends AbsSettings {
}
}
+ def printtypes: SettingValue { type T = Boolean }
def debug: SettingValue { type T = Boolean }
def YdepMethTpes: SettingValue { type T = Boolean }
def Ynotnull: SettingValue { type T = Boolean }
@@ -35,7 +36,6 @@ abstract class MutableSettings extends AbsSettings {
def verbose: SettingValue { type T = Boolean }
def uniqid: SettingValue { type T = Boolean }
def Xprintpos: SettingValue { type T = Boolean }
- def printtypes: SettingValue { type T = Boolean }
def Yrecursion: SettingValue { type T = Int }
def maxClassfileName: SettingValue { type T = Int }
} \ No newline at end of file