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:
@@ -1,6 +1,4 @@
|
||||
public abstract interface Comparator<T : R|ft<kotlin/Any, kotlin/Any?>!|> : R|kotlin/Any| {
|
||||
public abstract fun compare(o1: R|ft<T, T?>!|, o2: R|ft<T, T?>!|): R|kotlin/Int|
|
||||
|
||||
public abstract operator fun equals(obj: R|kotlin/Any?|): R|kotlin/Boolean|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
public abstract interface InterfaceWithObjectMethod : R|kotlin/Any| {
|
||||
public abstract fun toString(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user