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
@@ -570,7 +570,7 @@ public class JsAstMapper {
//
String fnNameIdent = fromFnNameNode.getString();
if (fnNameIdent != null && fnNameIdent.length() > 0) {
scopeContext.globalNameFor(fnNameIdent);
toFn.setName(scopeContext.globalNameFor(fnNameIdent));
}
while (fromParamNode != null) {