We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cfaefd commit 0cf9d10Copy full SHA for 0cf9d10
tests/run-with-compiler-custom-args/tasty-interpreter/interpreter/jvm/Interpreter.scala
@@ -23,6 +23,10 @@ class Interpreter[R <: Reflection & Singleton](reflect0: R) extends TreeInterpre
23
val instance = new Object
24
25
def invoke(proxy: Object, method: Method, args: scala.Array[Object]): Object = {
26
+ if (LOG) {
27
+ val proxyString = if (method.getName == "toString") method.invoke(instance) else proxy.toString
28
+ println(s"%> proxy call `$method` on `$proxyString` with args=${if (args == null) Nil else args.toList}")
29
+ }
30
31
// println(method)
32
val symbol = sym.methods.find(_.name == method.getName).get
0 commit comments