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:
+4
-4
@@ -12,8 +12,8 @@ Exit code: ABORT
|
|||||||
------------------------------------------
|
------------------------------------------
|
||||||
COMPILATION FAILED
|
COMPILATION FAILED
|
||||||
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
|
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<Any>): Unit
|
||||||
fun function(list: List<String>): kotlin.Unit
|
fun function(list: List<String>): Unit
|
||||||
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
|
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<Any>): Unit
|
||||||
fun function(list: List<String>): kotlin.Unit
|
fun function(list: List<String>): Unit
|
||||||
Reference in New Issue
Block a user