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

Original commit: a1d4214a39
This commit is contained in:
Denis Zharkov
2016-04-21 12:49:00 +03:00
parent f1fcde7670
commit de7c790c1d
@@ -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