Don't generate default arguments for inline call
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
//open modality to method handle check generation
|
||||
open class A {
|
||||
inline fun test(p: String = "OK"): String {
|
||||
return p
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return A().test()
|
||||
}
|
||||
|
||||
//handler check in test$default
|
||||
// 1 IFNULL
|
||||
//mask check in test$default
|
||||
// 1 IFEQ
|
||||
//total ifs
|
||||
// 2 IF
|
||||
Reference in New Issue
Block a user