Files
codeql/java/ql/test/kotlin/library-tests/internal-constructor-called-from-java/User.java
Chris Smowton 00800017fd Kotlin: make internal constructors' trap labels consistent with the Java extractor
Previously we accidentally named these something like <init>$main, which is a name-mangling the Kotlin compiler applies to internal methods but not to constructors, which look to Java just like regular public constructors.
2022-10-21 16:48:37 +01:00

6 lines
72 B
Java

public class User {
public static void test() { new Test(1, 2); }
}