JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+
This commit is contained in:
committed by
TeamCityServer
parent
bf844aa8e4
commit
00a335129b
@@ -1,3 +1,4 @@
|
||||
// SAM_CONVERSIONS: CLASS
|
||||
// This optimization is only done by the JVM_IR backend.
|
||||
// IGNORE_BACKEND: JVM
|
||||
// FILE: JFoo.java
|
||||
@@ -17,7 +18,6 @@ fun test() {
|
||||
JFoo.foo(A()::f)
|
||||
}
|
||||
|
||||
// Referenced function called from run(), no wrapper class generated:
|
||||
// 1 NEW A
|
||||
// 2 NEW
|
||||
// 0 INVOKEINTERFACE
|
||||
|
||||
Reference in New Issue
Block a user