JS: Fix local aliases
Local aliases can be copied as-is to a different fragment now. Before this change we would have had to extract the local alias tag (if any) from the source fragment and add to the destination fragment name bindings.
This commit is contained in:
@@ -30,7 +30,9 @@ var JsName.staticRef: JsNode? by MetadataProperty(default = null)
|
||||
|
||||
var JsName.descriptor: DeclarationDescriptor? by MetadataProperty(default = null)
|
||||
|
||||
var JsName.localAlias: JsName? by MetadataProperty(default = null)
|
||||
var JsName.localAlias: LocalAlias? by MetadataProperty(default = null)
|
||||
|
||||
data class LocalAlias(val name: JsName, val tag: String?)
|
||||
|
||||
var JsName.specialFunction: SpecialFunction? by MetadataProperty(default = null)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user