Properly process default lambda source mapping
#KT-21827 Fixed
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// FILE: 1.kt
|
||||
// SKIP_INLINE_CHECK_IN: bar$default
|
||||
package test
|
||||
|
||||
inline fun bar(f: () -> String = { "OK" }) = f()
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
// SKIP_INLINE_CHECK_IN: foo$default
|
||||
inline fun foo(f: () -> String = { bar() }) = f()
|
||||
|
||||
fun box(): String {
|
||||
return foo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user