[FIR] Implement replacing Object with type parameters for specials builtins
#KT-42601 Fixed
This commit is contained in:
+2
-2
@@ -8,9 +8,9 @@ val concurrentHash: ConcurrentHashMap<String, Int> = null!!
|
||||
|
||||
fun foo() {
|
||||
concurrent.remove("", 1)
|
||||
concurrent.remove("", "")
|
||||
concurrent.<!INAPPLICABLE_CANDIDATE!>remove<!>("", "")
|
||||
concurrentHash.remove("", 1)
|
||||
concurrentHash.remove("", "")
|
||||
concurrentHash.<!INAPPLICABLE_CANDIDATE!>remove<!>("", "")
|
||||
|
||||
// Flexible types
|
||||
concurrent.remove(null, 1)
|
||||
|
||||
Reference in New Issue
Block a user