[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
Vendored
+1
-1
@@ -13,7 +13,7 @@ fun test() {
|
||||
val f = String::countCharacters
|
||||
|
||||
checkSubtype<KProperty1<String, Int>>(f)
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><KMutableProperty1<String, Int>>(f)
|
||||
checkSubtype<KMutableProperty1<String, Int>>(<!ARGUMENT_TYPE_MISMATCH!>f<!>)
|
||||
checkSubtype<Int>(f.get("abc"))
|
||||
f.<!UNRESOLVED_REFERENCE!>set<!>("abc", 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user