Skip to content

Commit 92a6b25

Browse files
committed
Fix indentation in test
1 parent a5d640e commit 92a6b25

File tree

1 file changed

+3
-4
lines changed
  • tests/run-with-compiler-custom-args/tasty-interpreter/interpreter/jvm

1 file changed

+3
-4
lines changed

tests/run-with-compiler-custom-args/tasty-interpreter/interpreter/jvm/Interpreter.scala

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class Interpreter[R <: Reflection & Singleton](reflect0: R) extends TreeInterpre
2222
val parentSymbols = tree.parents.tail.map(_.asInstanceOf[TypeTree].symbol).head
2323
import java.lang.reflect._
2424
val handler: InvocationHandler = new InvocationHandler() {
25-
2625
def invoke(proxy: Object, method: Method, args: scala.Array[Object]): Object = {
2726
if (LOG) {
2827
val proxyString = if (method.getName == "toString") method.invoke(this) else proxy.toString
@@ -41,9 +40,9 @@ class Interpreter[R <: Reflection & Singleton](reflect0: R) extends TreeInterpre
4140
method.invoke(this, args: _*)
4241
}
4342
}
44-
}
45-
val proxyClass: Class[_] = Proxy.getProxyClass(getClass.getClassLoader, jvmReflection.loadClass(parentSymbols.fullName))
46-
proxyClass.getConstructor(classOf[InvocationHandler]).newInstance(handler);
43+
}
44+
val proxyClass: Class[_] = Proxy.getProxyClass(getClass.getClassLoader, jvmReflection.loadClass(parentSymbols.fullName))
45+
proxyClass.getConstructor(classOf[InvocationHandler]).newInstance(handler);
4746
}
4847
}
4948
else jvmReflection.interpretNew(fn.symbol, evaluatedArgss(argss))

0 commit comments

Comments
 (0)