ConvertToExpressionBodyIntention - refactoring
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
fun foo(): String = "abc"
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun foo(): String {
|
||||
return "abc"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts block body to expression body (single expression after '=' sign).
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user