be4f6beddb
- Introducing a backend diagnostic handler. - Moving JS diagnostic tests from test-common to js.test to avoid circular module dependencies. ^KT-61886 Fixed
11 lines
254 B
Kotlin
Vendored
11 lines
254 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// TODO: fix in KT-61881
|
|
// !DIAGNOSTICS: -NOTHING_TO_INLINE
|
|
// FIR_IDENTICAL
|
|
|
|
inline fun f(): Unit = <!INLINE_CALL_CYCLE!>g()<!>
|
|
|
|
inline fun g(): Unit = h { <!INLINE_CALL_CYCLE!>f()<!> }
|
|
|
|
inline fun h(fn: ()->Unit): Unit = fn()
|