Corresponding fix to js de-descriptiozation
(cherry picked from commit f542026312055e0ed49846f4dc76500ad1f44a32)
This commit is contained in:
committed by
Vasily Levchenko
parent
bc3b4f3954
commit
26bec6f739
+1
-1
@@ -494,7 +494,7 @@ private val Context.getLoweredInlineClassConstructor: (IrConstructor) -> IrSimpl
|
||||
require(irConstructor.constructedClass.isInlined())
|
||||
require(!irConstructor.isPrimary)
|
||||
|
||||
val descriptor = WrappedSimpleFunctionDescriptor(irConstructor.descriptor.annotations, irConstructor.descriptor.source)
|
||||
val descriptor = WrappedSimpleFunctionDescriptor()
|
||||
IrFunctionImpl(
|
||||
irConstructor.startOffset, irConstructor.endOffset,
|
||||
IrDeclarationOrigin.DEFINED,
|
||||
|
||||
+1
-4
@@ -109,10 +109,7 @@ internal class EnumConstructorsLowering(val context: Context) : ClassLoweringPas
|
||||
private fun lowerEnumConstructor(constructor: IrConstructor): IrConstructor {
|
||||
val startOffset = constructor.startOffset
|
||||
val endOffset = constructor.endOffset
|
||||
val loweredConstructor = WrappedClassConstructorDescriptor(
|
||||
constructor.descriptor.annotations,
|
||||
constructor.descriptor.source
|
||||
).let {
|
||||
val loweredConstructor = WrappedClassConstructorDescriptor().let {
|
||||
IrConstructorImpl(
|
||||
startOffset, endOffset,
|
||||
constructor.origin,
|
||||
|
||||
Reference in New Issue
Block a user