Files
codeql/java/ql/integration-tests/posix-only/kotlin/generic-extension-property/User.java
Chris Smowton 45a4cd89a6 Kotlin: specialise extension receivers the same as other function parameters
This arises when a generic class extends one of its parameters; for example, `class G<T> { val T.v; get() = 1 }`, where specialisation `G<List>` should generate a method specialisation `getV(List)`.
2022-10-27 18:31:19 +01:00

10 lines
118 B
Java

public class User {
public static void test(KotlinClass<String> kc) {
kc.getKotlinVal("Hello world");
}
}