Convert to expression body is forbidden for if without else #KT-12951 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: true
|
||||
|
||||
fun bar() {}
|
||||
|
||||
fun foo(f: Boolean) {
|
||||
<caret>if (f) bar() else bar()
|
||||
}
|
||||
Reference in New Issue
Block a user