Refine expression kind definition in postfix templates

- Do not treat if without else as values
- Some statements aren't contained in block (see tests)

 #KT-14107 Fixed
 #KT-14110 Fixed
This commit is contained in:
Denis Zharkov
2016-09-30 12:22:42 +03:00
parent 3c24996073
commit 0120085443
8 changed files with 53 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
for (i in 1..9)
i.sout<caret>
}