don't offer functions with block body and functions with declared return type as candidates for "show expression type"

This commit is contained in:
Dmitry Jemerov
2016-08-25 20:48:09 +02:00
parent 7b644e2c52
commit fbd2c48fbd
4 changed files with 18 additions and 4 deletions
@@ -0,0 +1,5 @@
fun foo() {
val <caret>x = 1
}
// TYPE: val x = 1 -> <html>kotlin.Int</html>