Use fq-names instead of descriptors when computing ambigious names

Because there can be different descriptors that are essentially equal
(from different modules)

See J2K test: testNullableField
This commit is contained in:
Denis Zharkov
2016-04-21 12:49:00 +03:00
parent 28e33aaf56
commit a1d4214a39
2 changed files with 17 additions and 13 deletions
@@ -12,8 +12,8 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
fun function(list: List<Any>): kotlin.Unit
fun function(list: List<String>): kotlin.Unit
fun function(list: List<Any>): Unit
fun function(list: List<String>): Unit
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
fun function(list: List<Any>): kotlin.Unit
fun function(list: List<String>): kotlin.Unit
fun function(list: List<Any>): Unit
fun function(list: List<String>): Unit