KT-10664 No code completion after variable initialized with elvis

#KT-10664 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-01-14 14:02:26 +03:00
parent b41f2dcda3
commit 7c6a33a36c
4 changed files with 24 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
fun foo(): String? = null
fun bar() {
val f = foo() ?: return
f.<caret>
}
// EXIST: length
// EXIST: hashCode