From d7928b725142492b8dad287736e25cf14dc3be88 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Wed, 8 Apr 2015 16:43:34 +0300 Subject: [PATCH] Added test cases with labeled diff. --- .../lineMarker/recursiveCall/thisQualifier.kt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/idea/testData/codeInsight/lineMarker/recursiveCall/thisQualifier.kt b/idea/testData/codeInsight/lineMarker/recursiveCall/thisQualifier.kt index 59000bea619..d4a36ec801c 100644 --- a/idea/testData/codeInsight/lineMarker/recursiveCall/thisQualifier.kt +++ b/idea/testData/codeInsight/lineMarker/recursiveCall/thisQualifier.kt @@ -1,7 +1,15 @@ -class F { +class Outer { fun f(a: Int) { - if (a > 0) { - this.f(a - 1) + } + + class F { + fun f(a: Int) { + if (a > 0) { + this.f(a - 1) + this@F.f(a - 1) + + this@Outer.f(a - 1) + } } } }