Indirect tests for tail call diagnostics removed
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun test() {
|
||||
[tailRecursive] fun g3(counter : Int, x : Any) {
|
||||
if (counter > 0) { g3(counter - 1, "tail") }
|
||||
[tailRecursive] fun g3(counter : Int) {
|
||||
if (counter > 0) { g3(counter - 1) }
|
||||
}
|
||||
g3(1000000, "test")
|
||||
g3(1000000)
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
|
||||
Reference in New Issue
Block a user