blob: 0d83f42ec9e72f1db4c6b38f16553a37c83e98fc [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
tailrec fun String.foo1() {
"".foo1()
}
tailrec fun String.foo2() {
this.foo2()
}
<!NO_TAIL_CALLS_FOUND!>tailrec<!> fun String.foo3() {
with(this) {
<!NON_TAIL_RECURSIVE_CALL!>foo3<!>()
}
}
/* GENERATED_FIR_TAGS: funWithExtensionReceiver, functionDeclaration, lambdaLiteral, stringLiteral, tailrec,
thisExpression */