diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-07-08 15:59:36 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-07-08 15:59:36 +0000 |
commit | 06f0f80ed9a9e2d72860bc39503a231c2171efff (patch) | |
tree | 600633f13dd1164ce66eab493be4537a3189f46a /src | |
parent | fcb0419a279263fd419e97143694a8bf71c46e59 (diff) | |
download | scala-06f0f80ed9a9e2d72860bc39503a231c2171efff.tar.gz scala-06f0f80ed9a9e2d72860bc39503a231c2171efff.tar.bz2 scala-06f0f80ed9a9e2d72860bc39503a231c2171efff.zip |
made typechecker logging methods final so they ...
made typechecker logging methods final so they can actually be inlined
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 6a81f1897f..7d6139c52b 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -2936,9 +2936,9 @@ trait Typers { self: Analyzer => } private[this] var typingIndent: String = "" - @inline def deindentTyping() = if (printTypings) typingIndent = typingIndent.substring(0, typingIndent.length() - 2) - @inline def indentTyping() = if (printTypings) typingIndent += " " - @inline def printTyping(s: => String) = if (printTypings) println(typingIndent+s) + @inline final def deindentTyping() = if (printTypings) typingIndent = typingIndent.substring(0, typingIndent.length() - 2) + @inline final def indentTyping() = if (printTypings) typingIndent += " " + @inline final def printTyping(s: => String) = if (printTypings) println(typingIndent+s) /** * @param tree ... |