Fix FIR incremental compilation failure with inlines and lambdas
#KT-51546 fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package inline
|
||||
|
||||
private inline fun ps(): () -> String { val z = "Outer"; return { "OK" } }
|
||||
|
||||
internal inline fun test(s: () -> () -> String = ::ps) =
|
||||
s()
|
||||
|
||||
val same = test()
|
||||
|
||||
Reference in New Issue
Block a user