FIR: Fix regression-like CONFLICTING_JVM_DECLARATIONS
See the class org.ini4j.Ini used in intelliJ (derived kt class MyIni) It contains inherited remove override with the following signature: String remove(Object sectionName, Object optionName) While also, from kotlin.collections.MutableMap we inherit boolean remove(Object, Object) And we should treat them as different methods to have correct signatures in resulting class scope
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
public interface A extends java.util.Map<String, String> {
|
||||
String remove(Object x, Object y);
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
public abstract class B implements java.util.Map<String, String>, A {
|
||||
public String remove(Object x, Object y) { return x; }
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
abstract class C : B()
|
||||
Reference in New Issue
Block a user