From c65a79bca4e83b19be5d21fbe3633e03d2ab0496 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 7 Sep 2017 11:10:33 +0300 Subject: [PATCH] Fix tests for inline cycle diagnostics in JS --- .../inline/recursionCycleLambda.kt | 4 ++-- .../inline/recursionCycleWithStdlibCall.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt b/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt index 291546e9991..6443d3635e6 100644 --- a/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt +++ b/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt @@ -2,6 +2,6 @@ inline fun f(): Unit = g() -inline fun g(): Unit = h { f() } +inline fun g(): Unit = h { f() } -inline fun h(fn: ()->Unit): Unit = fn() \ No newline at end of file +inline fun h(fn: ()->Unit): Unit = fn() \ No newline at end of file diff --git a/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt b/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt index 5e9896c1f1f..479363857f0 100644 --- a/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt +++ b/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithStdlibCall.kt @@ -2,5 +2,5 @@ inline fun f(): Unit = g() -inline fun g(): Unit = run { f() } +inline fun g(): Unit = run { f() }