[K/N] Get rid of using base class default values for annotations
They can be not available in incremental compilation case ^KT-50211
This commit is contained in:
+3
@@ -36,6 +36,9 @@ class JsAnnotationImplementationTransformer(val jsContext: JsIrBackendContext) :
|
||||
return expression
|
||||
}
|
||||
|
||||
override fun chooseConstructor(implClass: IrClass, expression: IrConstructorCall): IrConstructor =
|
||||
compilationException("Should not be called", implClass)
|
||||
|
||||
override fun visitClassNew(declaration: IrClass): IrStatement {
|
||||
if (declaration.isAnnotationClass) {
|
||||
implementGeneratedFunctions(declaration, declaration)
|
||||
|
||||
Reference in New Issue
Block a user