Fix missed returned expression if the last expression was condition jump
See ticket comments for the detailed description ^KT-28061 Fixed
This commit is contained in:
+1
-1
@@ -14,4 +14,4 @@ fun test(): String {
|
||||
val x: String? = null
|
||||
|
||||
x?.myRun { return "" }
|
||||
}
|
||||
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
Reference in New Issue
Block a user