summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-29 20:56:52 +0000
committerPaul Phillips <paulp@improving.org>2011-07-29 20:56:52 +0000
commit4231a0bc06765d914790078c184c525b9b7a1ef4 (patch)
tree72ef7da892956b179c16e4e6f8921889ab9be0f6 /src/compiler
parenteb3ee130adade25279913dae09915120c40e77c6 (diff)
downloadscala-4231a0bc06765d914790078c184c525b9b7a1ef4.tar.gz
scala-4231a0bc06765d914790078c184c525b9b7a1ef4.tar.bz2
scala-4231a0bc06765d914790078c184c525b9b7a1ef4.zip
Quieting down mr. lifty, no review.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/transform/LiftCode.scala4
-rw-r--r--src/compiler/scala/tools/nsc/util/trace.scala2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/LiftCode.scala b/src/compiler/scala/tools/nsc/transform/LiftCode.scala
index 56bcd42ae0..353fbf94ad 100644
--- a/src/compiler/scala/tools/nsc/transform/LiftCode.scala
+++ b/src/compiler/scala/tools/nsc/transform/LiftCode.scala
@@ -56,7 +56,7 @@ abstract class LiftCode extends Transform with TypingTransformers {
case _ => transform(rhs)
}
val rhs1 = typer.typedPos(rhs.pos) {
- util.errtrace("lifted rhs for "+tree+" in "+unit) (
+ /*util.errtrace("lifted rhs for "+tree+" in "+unit)*/(
Apply(Select(New(TypeTree(sym.tpe)), nme.CONSTRUCTOR), List(constructorArg)))
}
sym resetFlag MUTABLE
@@ -64,7 +64,7 @@ abstract class LiftCode extends Transform with TypingTransformers {
treeCopy.ValDef(tree, mods &~ MUTABLE, name, tpt1, rhs1)
case Ident(name) if freeMutableVars(sym) =>
localTyper.typedPos(tree.pos) {
- util.errtrace("lifting ")(Select(tree setType sym.tpe, nme.elem))
+ /*util.errtrace("lifting ")*/(Select(tree setType sym.tpe, nme.elem))
}
case _ =>
super.transform(tree)
diff --git a/src/compiler/scala/tools/nsc/util/trace.scala b/src/compiler/scala/tools/nsc/util/trace.scala
index 6a4d20e7f1..5207d2f13c 100644
--- a/src/compiler/scala/tools/nsc/util/trace.scala
+++ b/src/compiler/scala/tools/nsc/util/trace.scala
@@ -7,7 +7,7 @@ object trace extends SimpleTracer(System.out)
object errtrace extends SimpleTracer(System.err)
class SimpleTracer(out: PrintStream) {
- def apply[T](msg: String)(value: T): T = {
+ def apply[T](msg: String)(value: T): T = {
out.println(msg+value)
value
}