Allow if/when/try postfix templates in expression position

#KT-14078 Fixed
This commit is contained in:
Denis Zharkov
2016-09-28 20:24:34 +03:00
parent bff9dd4ef5
commit 18146fafdf
4 changed files with 23 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
fun foo(x: String) {
val y = x.when<caret>
}