J2K: parenthesize receiver if needed
#KT-10121 Fixed
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !specifyLocalVariableTypeByDefault: true
|
||||
fun foo(b: Boolean) {
|
||||
val s: String? = (if (b) "abc" else null)
|
||||
val s: String? = if (b) "abc" else null
|
||||
}
|
||||
Reference in New Issue
Block a user