FIR: Do not load hashCode/toString/equals methods from Java interface
As it's done in FE 1.0, and there are subtle semantics in the language that depends on it
This commit is contained in:
@@ -205,6 +205,7 @@ class JavaSymbolProvider(
|
||||
val classIsAnnotation = classKind == ClassKind.ANNOTATION_CLASS
|
||||
|
||||
for (javaMethod in javaClass.methods) {
|
||||
if (javaMethod.isObjectMethodInInterface()) continue
|
||||
declarations += convertJavaMethodToFir(
|
||||
javaMethod,
|
||||
classId,
|
||||
|
||||
Reference in New Issue
Block a user