[JS IR BE]: support dynamic_var["foo"] = "bar"

Used EQ origin to detect. Added a test to check dynamic_var = "bar" case
is not affected
This commit is contained in:
Anton Bannykh
2018-10-09 19:41:49 +03:00
parent 7afb81a7df
commit 8c6337f3f6
37 changed files with 8 additions and 36 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun <K: Any, V: Any> foo(k: K, v: V) {
val map = HashMap<K, V>()