Never delete types from inline functions during inline transformations
#KT-19399 Fixed
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
fun test() {
|
||||
{
|
||||
{}()
|
||||
}()
|
||||
}
|
||||
|
||||
inline fun ifun(s: () -> Unit) {
|
||||
s()
|
||||
}
|
||||
|
||||
fun test2() {
|
||||
var z = 1;
|
||||
ifun {
|
||||
{ z = 2 }()
|
||||
}
|
||||
}
|
||||
|
||||
// 1 class DeleteClassOnTransfromationKt\$test\$1\$1
|
||||
// 0 class DeleteClassOnTransfromationKt\$test2\$1\$1
|
||||
Reference in New Issue
Block a user