Quick-fix "wrap with safe let call" introduced #KT-11104 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-06-06 15:53:07 +03:00
committed by Mikhail Glukhikh
parent f8b6ed226a
commit 47c1106d5d
10 changed files with 157 additions and 0 deletions
@@ -0,0 +1,8 @@
// "Wrap with '?.let { ... }' call" "true"
// WITH_RUNTIME
operator fun Int.invoke() = this
fun foo(arg: Int?) {
<caret>arg()
}