Smart completion: special items with "!!" and "?:" for nullable members

This commit is contained in:
Valentin Kipyatkov
2014-04-21 22:14:20 +04:00
parent 710e61dea7
commit 134496d182
23 changed files with 279 additions and 75 deletions
@@ -0,0 +1,11 @@
class K {
class object {
fun bar(): K? = K()
}
}
fun foo(){
val k : K = <caret>
}
// ELEMENT_TEXT: "!! K.bar()"