[IR] Inliner: supported recursion in default arguments

This commit is contained in:
Igor Chevdar
2020-10-29 13:14:25 +05:00
parent 5f8fabed61
commit 94145f880c
2 changed files with 12 additions and 6 deletions
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, JS_IR
// IGNORE_BACKEND: JS
@Suppress("RECURSION_IN_INLINE")
inline fun test(p: String = test("OK")): String {
return p