Introduce FirFunctionReturnTypeMismatchChecker

This commit is contained in:
vldf
2021-04-03 22:58:19 +03:00
committed by Mikhail Glukhikh
parent 24f1f1221e
commit 57d2eb5da2
80 changed files with 501 additions and 238 deletions
@@ -111,8 +111,8 @@ fun testTwoLambdas() {
}
fun f1(): (() -> Unit) -> (() -> Unit) -> Unit {
return { l1 ->
return <!RETURN_TYPE_MISMATCH!>{ l1 ->
l1()
<!TOO_MANY_ARGUMENTS!>{ l2 -> <!UNRESOLVED_REFERENCE!>l2<!>() }<!>
}
}<!>
}