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
@@ -6,7 +6,7 @@ fun t1() : Int{
}
fun t1a() : Int {
return
<!RETURN_TYPE_MISMATCH!>return<!>
return 1
1
}
@@ -19,7 +19,7 @@ fun t1b() : Int {
fun t1c() : Int {
return 1
return
<!RETURN_TYPE_MISMATCH!>return<!>
1
}