Skip to content
Browse files

removes the crazy extraneous log

  • Loading branch information...
1 parent 21d5d38 commit 0262941b3c5016d84f111bb9956190d333c7acf2 @xeno-by xeno-by committed Feb 3, 2013
View
2 src/reflect/scala/reflect/runtime/JavaUniverse.scala
@@ -17,7 +17,7 @@ class JavaUniverse extends internal.SymbolTable with ReflectSetup with runtime.S
def forInteractive = 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
def newStrictTreeCopier: TreeCopier = new StrictTreeCopier
View
1 test/files/run/reflection-crazy-logs.check
@@ -0,0 +1 @@
+true
View
5 test/files/run/reflection-crazy-logs.scala
@@ -0,0 +1,5 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ println(typeOf[List[Any]] <:< typeOf[List[T] forSome { type T }])
+}

1 comment on commit 0262941

@scala-jenkins

Job pr-rangepos-per-commit failed for 0262941 (results):


Took 21 s.
sad kitty
to rebuild, comment "PLS REBUILD/pr-rangepos-per-commit@0262941"on PR #2083

Please sign in to comment.
Something went wrong with that request. Please try again.