Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

val showOuterTests is removed

val showOuterTests wasn't used in Printers
  • Loading branch information...
commit 6536256f0e2a736aa0c6bb9410883bf9fec4386e 1 parent 64c9122
@VladimirNik VladimirNik authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/reflect/scala/reflect/internal/Printers.scala
View
6 src/reflect/scala/reflect/internal/Printers.scala
@@ -17,8 +17,6 @@ trait Printers extends api.Printers { self: SymbolTable =>
//nsc import treeInfo.{ IsTrue, IsFalse }
- final val showOuterTests = false
-
/** Adds backticks if the name is a scala keyword. */
def quotedName(name: Name, decode: Boolean): String = {
val s = if (decode) name.decode else name.toString
@@ -301,10 +299,6 @@ trait Printers extends api.Printers { self: SymbolTable =>
case Apply(fn, args) => patConstr(fn)
case _ => pat
}
- if (showOuterTests &&
- needsOuterTest(
- patConstr(pat).tpe.finalResultType, selectorType, currentOwner))
- print("???")
print(pat); printOpt(" if ", guard)
print(" => ", body)
Please sign in to comment.
Something went wrong with that request. Please try again.