Files
codeql/java/ql/integration-tests/posix-only/kotlin/java-interface-redeclares-tostring/test.py
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

5 lines
159 B
Python

from create_database_utils import *
runSuccessfully(["javac", "Test.java", "-d", "bin"])
run_codeql_database_create(["kotlinc user.kt -cp bin"], lang="java")