Improve JvmConflictingDeclarations diagnostics rendering
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
interface T {
|
||||
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (foo(Ljava/util/List;)V):
|
||||
fun foo(l: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
fun foo(l: kotlin.collections.List<kotlin.String>): kotlin.Unit">fun foo(l: List<String>)</error> {}
|
||||
fun foo(l: List<Int>): Unit
|
||||
fun foo(l: List<String>): Unit">fun foo(l: List<String>)</error> {}
|
||||
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (foo(Ljava/util/List;)V):
|
||||
fun foo(l: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
fun foo(l: kotlin.collections.List<kotlin.String>): kotlin.Unit">fun foo(l: List<Int>)</error> {}
|
||||
fun foo(l: List<Int>): Unit
|
||||
fun foo(l: List<String>): Unit">fun foo(l: List<Int>)</error> {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user