Deprecate suppress annotation in favor of Suppress
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@ tailRecursive fun badTails(x : Int) : Int {
|
||||
return 1 + <!NON_TAIL_RECURSIVE_CALL!>badTails<!>(x - 1)
|
||||
}
|
||||
else if (x == 10) {
|
||||
@suppress("NON_TAIL_RECURSIVE_CALL")
|
||||
@Suppress("NON_TAIL_RECURSIVE_CALL")
|
||||
return 1 + badTails(x - 1)
|
||||
} else if (x >= 50) {
|
||||
return badTails(x - 1)
|
||||
|
||||
Reference in New Issue
Block a user