KT-3008 Fix UMD and plain module wrappers when module id is not a valid JS identifier

This commit is contained in:
Alexey Andreev
2016-04-20 13:46:39 +03:00
parent e38b83880f
commit b6b604d78f
6 changed files with 58 additions and 6 deletions
@@ -0,0 +1,2 @@
module-1->
main->module-1
@@ -0,0 +1,4 @@
fun box(): String {
assertEquals("bar", bar())
return "OK"
}
@@ -0,0 +1 @@
fun bar() = "bar"