Skip to content

Commit

Permalink
fixes the craziness in JavaUniverse.log
Browse files Browse the repository at this point in the history
This long-standing, but trivial to fix nuisance in the implementation of
runtime reflection actively avoided being fixed in both 2.10.0 and 2.10.1.

It's finally the time to put it to a rest.
  • Loading branch information
xeno-by committed Mar 20, 2013
1 parent bbd69f5 commit fc46281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect/scala/reflect/runtime/JavaUniverse.scala
Expand Up @@ -17,7 +17,7 @@ class JavaUniverse extends internal.SymbolTable with ReflectSetup with runtime.S
def forInteractive = false def forInteractive = false
def forScaladoc = false def forScaladoc = false


def log(msg: => AnyRef): Unit = println(" [] "+msg) def log(msg: => AnyRef): Unit = if (settings.debug.value) println(" [] "+msg)


type TreeCopier = InternalTreeCopierOps type TreeCopier = InternalTreeCopierOps
def newStrictTreeCopier: TreeCopier = new StrictTreeCopier def newStrictTreeCopier: TreeCopier = new StrictTreeCopier
Expand Down

0 comments on commit fc46281

Please sign in to comment.