Fix FIR incremental compilation failure with inlines and lambdas

#KT-51546 fixed
This commit is contained in:
Ilya Chernikov
2022-03-05 18:27:25 +01:00
committed by teamcity
parent 8f1a2f4612
commit aa0386276d
13 changed files with 134 additions and 12 deletions
@@ -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()