methods on objects should always be called via invokevirtual() and not invokeinterface()

This commit is contained in:
Dmitry Jemerov
2011-07-15 16:31:00 +02:00
parent 9bfa61bfb2
commit 3592aff812
3 changed files with 10 additions and 1 deletions
@@ -0,0 +1,5 @@
object A {
fun result() = "OK"
}
fun box(): String = A.result()