Implement inlining of default parameters in JS BE
Fix KT-17910
This commit is contained in:
+2
@@ -14,6 +14,8 @@ class A(val value: String) {
|
||||
|
||||
// FILE: 2.kt
|
||||
//WIH_RUNTIME
|
||||
// CHECK_CALLED_IN_SCOPE: function=inlineFun$f scope=test
|
||||
// CHECK_CALLED_IN_SCOPE: function=inlineFun$f_0 scope=test
|
||||
import test.*
|
||||
|
||||
fun String.test(): String = with(A("VALUE")) { "INLINE".inlineFun({ this@test }) }
|
||||
|
||||
Reference in New Issue
Block a user