Filtering duplicate diagnostics for package facades and package parts

This commit is contained in:
Andrey Breslav
2014-06-03 14:00:17 +04:00
parent 41d66281ee
commit 91136ada27
3 changed files with 70 additions and 11 deletions
@@ -0,0 +1,8 @@
trait 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.List<kotlin.String>): kotlin.Unit
fun foo(l: kotlin.List<kotlin.Int>): kotlin.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.List<kotlin.String>): kotlin.Unit
fun foo(l: kotlin.List<kotlin.Int>): kotlin.Unit">fun foo(l: List<Int>)</error> {}
}