don't show function literals and selectors of qualified expressions in "show expression type"

This commit is contained in:
Dmitry Jemerov
2016-08-26 17:19:00 +02:00
parent 256fd04e95
commit 02a5856ffd
3 changed files with 16 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
val x = listOf(1).map { q -> println(<caret>q) }
// TYPE: q -> <html>Int</html>
// TYPE: println(q) -> <html>Unit</html>
// TYPE: { q -> println(q) } -> <html>(Int) &rarr; Unit</html>
// TYPE: listOf(1).map { q -> println(q) } -> <html>List&lt;Unit&gt;</html>
// TYPE: val x = listOf(1).map { q -> println(q) } -> <html>List&lt;Unit&gt;</html>