JS: don't throw AssertionError from RedundantCallElimination

Also mark JS `call` function to avoid removing a custom `call`
This commit is contained in:
Anton Bannykh
2018-08-10 18:12:03 +03:00
parent 0895f72570
commit 4e496cf2b2
7 changed files with 49 additions and 4 deletions
@@ -47,6 +47,8 @@ var JsInvocation.descriptor: CallableDescriptor? by MetadataProperty(default = n
var JsInvocation.psiElement: PsiElement? by MetadataProperty(default = null)
var JsNameRef.isJsCall: Boolean by MetadataProperty(default = false)
var JsNameRef.inlineStrategy: InlineStrategy? by MetadataProperty(default = null)
var JsNameRef.descriptor: CallableDescriptor? by MetadataProperty(default = null)