Remove Parentheses: Forbid on call inside a call without argument list
#KT-18699 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun parenPB(p: (() -> Unit) -> Unit): (() -> Unit) -> Unit = p
|
||||
|
||||
fun somethingNext(p: (() -> Unit) -> Unit) {
|
||||
<caret>(parenPB (p)) {}
|
||||
}
|
||||
Reference in New Issue
Block a user