Make FE1.0 report tailrec diagnostics on the keyword
This commit is contained in:
committed by
teamcityserver
parent
5252effb10
commit
a5435c0efc
+1
-1
@@ -12,7 +12,7 @@ open class A {
|
||||
}
|
||||
|
||||
class B : A() {
|
||||
<!NO_TAIL_CALLS_FOUND!>override tailrec fun foo(s: String): String<!> {
|
||||
override <!NO_TAIL_CALLS_FOUND!>tailrec<!> fun foo(s: String): String {
|
||||
return if (s == "OK") s else foo()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user