Remove JvmDescriptorWithExtraFlags and fix syntheticness

(of fields and classes, it is already correct for methods).
This commit is contained in:
pyos
2019-04-04 09:39:39 +02:00
committed by Mikhael Bogdanov
parent 3fdcf8376f
commit fb0261bfc1
14 changed files with 62 additions and 322 deletions
@@ -32,7 +32,7 @@ class JsDeclarationFactory : DeclarationFactory {
private val outerThisFieldSymbols = HashMap<IrClass, IrField>()
private val innerClassConstructors = HashMap<IrConstructor, IrConstructor>()
override fun getFieldForEnumEntry(enumEntry: IrEnumEntry, type: IrType): IrField = TODO()
override fun getFieldForEnumEntry(enumEntry: IrEnumEntry, entryType: IrType): IrField = TODO()
override fun getOuterThisField(innerClass: IrClass): IrField =
if (!innerClass.isInner) throw AssertionError("Class is not inner: ${innerClass.dump()}")