Files
codeql/java/ql/test/kotlin/library-tests/extensions_recursion/test.kt
Ian Lynagh f0949a4936 Kotlin: Add a test
This caused a stack overflow on a branch, due to the recursino between
the class and the extension function.
2022-05-10 19:51:08 +01:00

12 lines
122 B
Kotlin

fun <T> Foo<T>.bar(): Boolean {
return true
}
class Foo<T> {
fun foo(): Boolean {
return bar()
}
}