JetPsiFactory: refactored method for creating argument + introduced ability to create arbitrary constructs by pattern

This commit is contained in:
Valentin Kipyatkov
2015-05-22 16:22:51 +03:00
parent 161630a449
commit 6b66e3b0e6
6 changed files with 61 additions and 39 deletions
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar(2, { it * 3 })
bar(2, {it * 3})
}
fun bar(a: Int, b: (Int) -> Int) {