JS: support non-local return from secondary constructor

See KT-14549
This commit is contained in:
Alexey Andreev
2017-09-27 17:14:33 +03:00
parent e323da3c5e
commit c15847a957
5 changed files with 21 additions and 10 deletions
@@ -53,6 +53,8 @@ var JsNameRef.psiElement: PsiElement? by MetadataProperty(default = null)
var JsFunction.isLocal: Boolean by MetadataProperty(default = false)
var JsFunction.forcedReturnVariable: JsName? by MetadataProperty(default = null)
var JsParameter.hasDefaultValue: Boolean by MetadataProperty(default = false)
var JsInvocation.typeCheck: TypeCheck? by MetadataProperty(default = null)