Introduce "Lift return out of try" intention #KT-18830 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8f9b680fc6
commit
8cc9330e63
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports if and when statements that can be converted to expressions
|
||||
This inspection reports if, when and try statements that can be converted to expressions
|
||||
by lifting return or assignment out. Typical example:
|
||||
<code><pre>
|
||||
<b>fun</b> foo(arg: Boolean): String {
|
||||
|
||||
Reference in New Issue
Block a user