JS: make JS parser to store function's name in AST. See KT-15475

This commit is contained in:
Alexey Andreev
2017-01-11 15:04:37 +03:00
parent a016147a79
commit f33d421bab
3 changed files with 15 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
fun box(): String {
return js("""
function foo() {
return "OK";
}
foo();
""")
}