Don't show literals in "show expression type" popup

This commit is contained in:
Dmitry Jemerov
2016-10-27 13:44:58 +02:00
parent e6c05c3a19
commit 57680ae003
3 changed files with 1 additions and 2 deletions
@@ -1,5 +1,4 @@
val x = if (2 > 1) <caret>3 else 4
// TYPE: 3 -> <html>Int</html>
// TYPE: if (2 > 1) 3 else 4 -> <html>Int</html>
// TYPE: val x = if (2 > 1) 3 else 4 -> <html>Int</html>
@@ -2,7 +2,6 @@ val x = if (flag) {
if (flag2) 1<caret>3 else 7
} else 42
// TYPE: 13 -> <html>Int</html>
// TYPE: if (flag2) 13 else 7 -> <html>Int</html>
// TYPE: if (flag) { if (flag2) 13 else 7 } else 42 -> <html>Int</html>
// TYPE: val x = if (flag) { if (flag2) 13 else 7 } else 42 -> <html>Int</html>