Fix tests for inline cycle diagnostics in JS

This commit is contained in:
Alexey Andreev
2017-09-07 11:10:33 +03:00
parent c66bc0b0e9
commit c65a79bca4
2 changed files with 3 additions and 3 deletions
@@ -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()
@@ -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()<!> }