Remove Parentheses: Forbid on call inside a call without argument list

#KT-18699 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-27 20:12:05 +03:00
parent 20969f161c
commit 50a38df8b1
4 changed files with 17 additions and 1 deletions
@@ -11,5 +11,5 @@ fun some2(p1: () -> Unit, p2: (() -> Unit) -> Unit) {
parenP()
parenBP { p1 }()
parenPP()()
parenPB(p2) {}
(parenPB(p2)) {}
}