Files
codeql/java/ql/integration-tests/posix-only/kotlin/java-interface-redeclares-tostring/Test.java
Chris Smowton c6f4742f29 Kotlin: extract interface redeclarations of Object methods
Due to a probable compiler bug (?) the redeclaration looks like a fake symbol, leading to Java dispatching against a declaration that Kotlin doesn't believe exists.
2022-10-24 12:45:07 +01:00

6 lines
97 B
Java

public interface Test {
String toString();
int hashCode();
boolean equals(Object other);
}