KJS: remove obsolete classIndex

This commit is contained in:
Zalim Bashorov
2016-12-27 00:39:27 +03:00
parent be694d53ef
commit 70423e8129
4 changed files with 0 additions and 16 deletions
@@ -177,10 +177,8 @@ class ClassTranslator private constructor(
DescriptorUtils.isObject(descriptor) -> JsNameRef("OBJECT", kotlinType)
else -> JsNameRef("CLASS", kotlinType)
}
val typeIndex = JsInvocation(JsNameRef("newClassIndex", Namer.KOTLIN_NAME))
metadataLiteral.propertyInitializers += JsPropertyInitializer(JsNameRef("type"), typeRef)
metadataLiteral.propertyInitializers += JsPropertyInitializer(JsNameRef("classIndex"), typeIndex)
val simpleName = descriptor.name
if (!simpleName.isSpecial) {