[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
@@ -8,7 +8,7 @@ import checkSubtype
|
||||
|
||||
fun test(numbers: Iterable<Int>) {
|
||||
val s = numbers.map{it.toString()}.fold(""){it, it2 -> it + it2}
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><Int>(s)
|
||||
checkSubtype<Int>(<!ARGUMENT_TYPE_MISMATCH!>s<!>)
|
||||
}
|
||||
|
||||
//from library
|
||||
|
||||
Reference in New Issue
Block a user