"Move lambda outside parenthesis" should not be available when not valid

This commit is contained in:
Valentin Kipyatkov
2015-05-22 12:47:18 +03:00
parent 25e323e960
commit 3bca1d1f83
7 changed files with 74 additions and 0 deletions
@@ -0,0 +1,3 @@
fun foo(p: (Int, () -> Int) -> Unit) {
p(1, <caret>{ 2 })
}