[JS BE] Support val in when subject

#KT-25014 Fixed
This commit is contained in:
Zalim Bashorov
2018-08-02 13:28:53 +03:00
parent 289ff845c4
commit 3c765e3625
15 changed files with 82 additions and 59 deletions
@@ -1,5 +1,4 @@
// !LANGUAGE: +VariableDeclarationInWhenSubject
// IGNORE_BACKEND: JS
val x = 1