JS: fix inlining of function that calls functions from other modules

This commit is contained in:
Alexey Andreev
2017-07-12 13:15:04 +03:00
parent 6bb5d00700
commit 901346243d
10 changed files with 480 additions and 270 deletions
@@ -31,6 +31,8 @@ var JsName.descriptor: DeclarationDescriptor? by MetadataProperty(default = null
var JsName.localAlias: JsName? by MetadataProperty(default = null)
var JsExpression.localAlias: JsName? by MetadataProperty(default = null)
// TODO: move this to module 'js.inliner' and change dependency on 'frontend' to dependency on 'descriptors'
var JsInvocation.inlineStrategy: InlineStrategy? by MetadataProperty(default = null)