Control-Flow: Generate instruction for left-hand side of invalid assignments

#KT-8390 Fixed
This commit is contained in:
Alexey Sedunov
2015-07-10 02:33:08 +03:00
parent d2dc44379e
commit df07a61a08
8 changed files with 43 additions and 39 deletions
@@ -26,3 +26,7 @@ fun get(p: Any) {
fun set(p: Any) {
}
fun foo(s: String) {
s.<!UNRESOLVED_REFERENCE!>xxx<!> = 1
}