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
@@ -30,7 +30,7 @@ val test3: (String) -> Boolean =
val test4: (String) -> Boolean =
when {
true -> { s1, s2 -> true }
true -> { s1, <!CANNOT_INFER_PARAMETER_TYPE!>s2<!> -> true }
else -> null!!
}