FIR: report errors on FirResolvedTypeRef with ConeClassErrorType

Not sure what the difference from FirErrorTypeRef is.
This commit is contained in:
pyos
2021-03-30 16:28:00 +02:00
committed by TeamCityServer
parent 474d1d48f7
commit 82cadba80b
15 changed files with 45 additions and 32 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ fun text() {
<!INAPPLICABLE_CANDIDATE!>bar2<!> {}
bar2 {1}
bar2 {<!UNRESOLVED_REFERENCE!>it<!>}
bar2 {it -> <!ARGUMENT_TYPE_MISMATCH!>it<!>}
bar2 {<!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!ARGUMENT_TYPE_MISMATCH!>it<!>}
}
fun bar(f : (Int, Int) -> Int) {}