Fix tests for inline cycle diagnostics in JS
This commit is contained in:
Vendored
+2
-2
@@ -2,6 +2,6 @@
|
||||
|
||||
inline fun f(): Unit = <!INLINE_CALL_CYCLE!>g()<!>
|
||||
|
||||
inline fun g(): Unit = <!INLINE_CALL_CYCLE!>h { <!INLINE_CALL_CYCLE!>f()<!> }<!>
|
||||
inline fun g(): Unit = h { <!INLINE_CALL_CYCLE!>f()<!> }
|
||||
|
||||
inline fun h(fn: ()->Unit): Unit = <!INLINE_CALL_CYCLE!>fn()<!>
|
||||
inline fun h(fn: ()->Unit): Unit = fn()
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
inline fun f(): Unit = <!INLINE_CALL_CYCLE!>g()<!>
|
||||
|
||||
inline fun g(): Unit = <!INLINE_CALL_CYCLE!>run { <!INLINE_CALL_CYCLE!>f()<!> }<!>
|
||||
inline fun g(): Unit = run { <!INLINE_CALL_CYCLE!>f()<!> }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user