Introduce FirFunctionReturnTypeMismatchChecker
This commit is contained in:
+1
-1
@@ -23,4 +23,4 @@ fun noCoercionBlockHasExplicitReturn() {
|
||||
}
|
||||
}
|
||||
|
||||
fun noCoercionInExpressionBody(): Unit = "hello"
|
||||
fun noCoercionInExpressionBody(): Unit = <!RETURN_TYPE_MISMATCH!>"hello"<!>
|
||||
|
||||
Reference in New Issue
Block a user