FIR: permit tailrec calls in inline lambdas
This commit is contained in:
Vendored
-1
@@ -1,6 +1,5 @@
|
||||
// KT-16549
|
||||
// IGNORE_BACKEND: JVM, JS
|
||||
// IGNORE_FIR_DIAGNOSTICS_DIFF
|
||||
|
||||
class TailInline {
|
||||
private inline fun act(action: () -> Unit) {
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// KT-14961
|
||||
// IGNORE_BACKEND: JVM, JS_IR, WASM
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_FIR_DIAGNOSTICS_DIFF
|
||||
|
||||
fun listOfFactor(number: Int): List<Int> {
|
||||
tailrec fun listOfFactor(number: Int, acc: List<Int>): List<Int> {
|
||||
|
||||
Reference in New Issue
Block a user