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
@@ -13,5 +13,5 @@ fun test1() {
fun bar(f: (<!UNRESOLVED_REFERENCE!>A<!>)->Unit) {}
fun test2() {
bar { a -> } // here we don't have 'cannot infer parameter type' error
bar { <!UNRESOLVED_REFERENCE!>a<!> -> } // here we don't have 'cannot infer parameter type' error
}