Files
codeql/java/ql/test/kotlin/library-tests/jvmoverloads_generics/test.kt
Chris Smowton 5e023bf619 Remove no-longer-applicable diagnostic matches
These resulted from the Java compiler exploring NotNull and other Kotlin-emitted annotations, which it no longer does because it finds a .class trap file already present and truncates its class-graph walk
2022-12-06 18:35:04 +00:00

7 lines
132 B
Kotlin

public class A {
@JvmOverloads
fun <T> genericFunctionWithOverloads(x: T? = null, y: List<T>? = null, z: T? = null): T? = z
}