You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: D:/project/kmpizza-repo/shared/src/commonMain/kotlin/dev/tutorial/kmpizza/di/CommonModule.kt
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:51)
at org.jetbrains.kotlin.backend.common.CodegenUtil.reportBackendException(CodegenUtil.kt:253)
at org.jetbrains.kotlin.backend.common.CodegenUtil.reportBackendException$default(CodegenUtil.kt:237)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invokeSequential(performByIrFile.kt:65)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invoke(performByIrFile.kt:52)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invoke(performByIrFile.kt:38)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.phaseBody(CompilerPhase.kt:147)
at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:29)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:16)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.phaseBody(CompilerPhase.kt:147)
at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.invokeToplevel(CompilerPhase.kt:43)
at org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory.invokeCodegen(JvmIrCodegenFactory.kt:361)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.runCodegen(KotlinToJVMBytecodeCompiler.kt:347)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:122)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli$default(KotlinToJVMBytecodeCompiler.kt:43)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:165)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:50)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:104)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:48)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:101)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:463)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:62)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:477)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624)
at jdk.internal.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.RuntimeException: Exception while generating code for:
FUN name:initKoin visibility:public modality:FINAL <> (appDeclaration:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) returnType:org.koin.core.KoinApplication
VALUE_PARAMETER name:appDeclaration index:0 type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun initKoin (appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }): org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt'
CALL 'public final fun startKoin (appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }): org.koin.core.KoinApplication declared in org.koin.core.context.DefaultContextExtKt' type=org.koin.core.KoinApplication origin=null
appDeclaration: BLOCK type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
CLASS LAMBDA_IMPL CLASS name: modality:FINAL visibility:public/package/ superTypes:[kotlin.jvm.internal.Lambda; kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
CONSTRUCTOR GENERATED_MEMBER_IN_CALLABLE_REFERENCE visibility:public/package/ <> ($appDeclaration:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) returnType:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. [primary]
VALUE_PARAMETER BOUND_VALUE_PARAMETER name:$appDeclaration index:0 type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }
BLOCK_BODY
SET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=kotlin.Unit origin=INITIALIZER_OF_FIELD_FOR_CAPTURED_VALUE
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
value: GET_VAR '$appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
DELEGATING_CONSTRUCTOR_CALL 'public constructor (arity: kotlin.Int) declared in kotlin.jvm.internal.Lambda'
arity: CONST Int type=kotlin.Int value=1
BLOCK type=kotlin.Unit origin=null
FUN name:invoke visibility:public modality:FINAL <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., $this$startKoin:org.koin.core.KoinApplication) returnType:kotlin.Unit
overridden:
public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER name:$this$startKoin index:0 type:org.koin.core.KoinApplication
BLOCK_BODY
CALL 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1' type=kotlin.Unit origin=INVOKE
$this: GET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
p1: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
COMPOSITE type=kotlin.Unit origin=null
CALL 'public final fun modules (vararg modules: org.koin.core.module.Module): org.koin.core.KoinApplication declared in org.koin.core.KoinApplication' type=org.koin.core.KoinApplication origin=null
$this: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
modules: BLOCK type=kotlin.Array origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Array [val]
CALL 'public final fun arrayOfNulls (size: kotlin.Int): kotlin.Array<T of kotlin.arrayOfNulls?> declared in kotlin' type=kotlin.Array origin=null
: org.koin.core.module.Module
size: CONST Int type=kotlin.Int value=5
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=0
value: CALL 'public final fun access$getApiModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=1
value: CALL 'public final fun access$getRepositoryModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=2
value: CALL 'public final fun access$getViewModelModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=3
value: CALL 'public final fun (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di' type=org.koin.core.module.Module origin=GET_PROPERTY
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=4
value: CALL 'public final fun access$getCoreModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
COMPOSITE type=kotlin.Unit origin=null
FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]
FUN BRIDGE name:invoke visibility:public modality:OPEN <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., p1:kotlin.Any?) returnType:kotlin.Any?
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER BRIDGE name:p1 index:0 type:kotlin.Any?
EXPRESSION_BODY
RETURN type=kotlin.Nothing from='public open fun invoke (p1: kotlin.Any?): kotlin.Any? declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.'
CALL 'public final fun invoke ($this$startKoin: org.koin.core.KoinApplication): kotlin.Unit declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=kotlin.Unit origin=BRIDGE_DELEGATION
$this: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
$this$startKoin: TYPE_OP type=org.koin.core.KoinApplication origin=IMPLICIT_CAST typeOperand=org.koin.core.KoinApplication
GET_VAR 'p1: kotlin.Any? declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Any? origin=null
CONSTRUCTOR_CALL 'public/package/ constructor ($appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) [primary] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
$appDeclaration: GET_VAR 'appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:51)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate$default(FunctionCodegen.kt:43)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generateMethodNode(ClassCodegen.kt:390)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generateMethod(ClassCodegen.kt:407)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generate(ClassCodegen.kt:169)
at org.jetbrains.kotlin.backend.jvm.FileCodegen.lower(JvmPhases.kt:41)
at org.jetbrains.kotlin.backend.common.phaser.FileLoweringPhaseAdapter.invoke(PhaseBuilders.kt:120)
at org.jetbrains.kotlin.backend.common.phaser.FileLoweringPhaseAdapter.invoke(PhaseBuilders.kt:116)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.phaseBody(CompilerPhase.kt:147)
at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invokeSequential(performByIrFile.kt:62)
... 43 more
Caused by: java.lang.RuntimeException: Exception while generating code for:
FUN name:invoke visibility:public modality:FINAL <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., $this$startKoin:org.koin.core.KoinApplication) returnType:kotlin.Unit
overridden:
public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER name:$this$startKoin index:0 type:org.koin.core.KoinApplication
BLOCK_BODY
CALL 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1' type=kotlin.Unit origin=INVOKE
$this: GET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
p1: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
COMPOSITE type=kotlin.Unit origin=null
CALL 'public final fun modules (vararg modules: org.koin.core.module.Module): org.koin.core.KoinApplication declared in org.koin.core.KoinApplication' type=org.koin.core.KoinApplication origin=null
$this: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
modules: BLOCK type=kotlin.Array origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Array [val]
CALL 'public final fun arrayOfNulls (size: kotlin.Int): kotlin.Array<T of kotlin.arrayOfNulls?> declared in kotlin' type=kotlin.Array origin=null
: org.koin.core.module.Module
size: CONST Int type=kotlin.Int value=5
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=0
value: CALL 'public final fun access$getApiModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=1
value: CALL 'public final fun access$getRepositoryModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=2
value: CALL 'public final fun access$getViewModelModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=3
value: CALL 'public final fun (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di' type=org.koin.core.module.Module origin=GET_PROPERTY
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=4
value: CALL 'public final fun access$getCoreModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
COMPOSITE type=kotlin.Unit origin=null
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:51)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate$default(FunctionCodegen.kt:43)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generateMethodNode(ClassCodegen.kt:390)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generateMethod(ClassCodegen.kt:407)
at org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen.generate(ClassCodegen.kt:169)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitClass(ExpressionCodegen.kt:967)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitClass(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.declarations.IrClass.accept(IrClass.kt:73)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:576)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.visitors.IrElementVisitor$DefaultImpls.visitBlock(IrElementVisitor.kt:192)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:396)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlock.accept(IrBlock.kt:20)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.gen(ExpressionCodegen.kt:205)
at org.jetbrains.kotlin.backend.jvm.codegen.IrCallGenerator.genValueAndPut(IrCallGenerator.kt:48)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall$handleValueParameter(ExpressionCodegen.kt:606)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:619)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitReturn(ExpressionCodegen.kt:1018)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitReturn(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrReturn.accept(IrReturn.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:567)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlockBody.accept(IrBlockBody.kt:25)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.generate(ExpressionCodegen.kt:228)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.doGenerate(FunctionCodegen.kt:122)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:47)
... 53 more
Caused by: java.lang.IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen: FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:org.koin.core.module.Module
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:584)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.intrinsics.ArraySet.invoke(ArraySet.kt:32)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:581)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:576)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.visitors.IrElementVisitor$DefaultImpls.visitBlock(IrElementVisitor.kt:192)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:396)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlock.accept(IrBlock.kt:20)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.gen(ExpressionCodegen.kt:205)
at org.jetbrains.kotlin.backend.jvm.codegen.IrCallGenerator.genValueAndPut(IrCallGenerator.kt:48)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall$handleValueParameter(ExpressionCodegen.kt:606)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:619)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:576)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.visitors.IrElementVisitor$DefaultImpls.visitComposite(IrElementVisitor.kt:196)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitComposite(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitComposite(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrComposite.accept(IrComposite.kt:20)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:567)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlockBody.accept(IrBlockBody.kt:25)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.generate(ExpressionCodegen.kt:228)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.doGenerate(FunctionCodegen.kt:122)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:47)
... 83 more
The text was updated successfully, but these errors were encountered:
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: D:/project/kmpizza-repo/shared/src/commonMain/kotlin/dev/tutorial/kmpizza/di/CommonModule.kt
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:51)
at org.jetbrains.kotlin.backend.common.CodegenUtil.reportBackendException(CodegenUtil.kt:253)
at org.jetbrains.kotlin.backend.common.CodegenUtil.reportBackendException$default(CodegenUtil.kt:237)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invokeSequential(performByIrFile.kt:65)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invoke(performByIrFile.kt:52)
at org.jetbrains.kotlin.backend.common.phaser.PerformByIrFilePhase.invoke(performByIrFile.kt:38)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.phaseBody(CompilerPhase.kt:147)
at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:29)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:16)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.phaseBody(CompilerPhase.kt:147)
at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.invokeToplevel(CompilerPhase.kt:43)
at org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory.invokeCodegen(JvmIrCodegenFactory.kt:361)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.runCodegen(KotlinToJVMBytecodeCompiler.kt:347)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:122)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli$default(KotlinToJVMBytecodeCompiler.kt:43)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:165)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:50)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:104)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:48)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:101)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:463)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:62)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:477)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624)
at jdk.internal.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.RuntimeException: Exception while generating code for:
FUN name:initKoin visibility:public modality:FINAL <> (appDeclaration:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) returnType:org.koin.core.KoinApplication
VALUE_PARAMETER name:appDeclaration index:0 type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun initKoin (appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }): org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt'
CALL 'public final fun startKoin (appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }): org.koin.core.KoinApplication declared in org.koin.core.context.DefaultContextExtKt' type=org.koin.core.KoinApplication origin=null
appDeclaration: BLOCK type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
CLASS LAMBDA_IMPL CLASS name: modality:FINAL visibility:public/package/ superTypes:[kotlin.jvm.internal.Lambda; kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
CONSTRUCTOR GENERATED_MEMBER_IN_CALLABLE_REFERENCE visibility:public/package/ <> ($appDeclaration:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) returnType:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. [primary]
VALUE_PARAMETER BOUND_VALUE_PARAMETER name:$appDeclaration index:0 type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }
BLOCK_BODY
SET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=kotlin.Unit origin=INITIALIZER_OF_FIELD_FOR_CAPTURED_VALUE
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
value: GET_VAR '$appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
DELEGATING_CONSTRUCTOR_CALL 'public constructor (arity: kotlin.Int) declared in kotlin.jvm.internal.Lambda'
arity: CONST Int type=kotlin.Int value=1
BLOCK type=kotlin.Unit origin=null
FUN name:invoke visibility:public modality:FINAL <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., $this$startKoin:org.koin.core.KoinApplication) returnType:kotlin.Unit
overridden:
public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER name:$this$startKoin index:0 type:org.koin.core.KoinApplication
BLOCK_BODY
CALL 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1' type=kotlin.Unit origin=INVOKE
$this: GET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
p1: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
COMPOSITE type=kotlin.Unit origin=null
CALL 'public final fun modules (vararg modules: org.koin.core.module.Module): org.koin.core.KoinApplication declared in org.koin.core.KoinApplication' type=org.koin.core.KoinApplication origin=null
$this: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
modules: BLOCK type=kotlin.Array origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Array [val]
CALL 'public final fun arrayOfNulls (size: kotlin.Int): kotlin.Array<T of kotlin.arrayOfNulls?> declared in kotlin' type=kotlin.Array origin=null
: org.koin.core.module.Module
size: CONST Int type=kotlin.Int value=5
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=0
value: CALL 'public final fun access$getApiModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=1
value: CALL 'public final fun access$getRepositoryModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=2
value: CALL 'public final fun access$getViewModelModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=3
value: CALL 'public final fun (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di' type=org.koin.core.module.Module origin=GET_PROPERTY
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=4
value: CALL 'public final fun access$getCoreModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
COMPOSITE type=kotlin.Unit origin=null
FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]
FUN BRIDGE name:invoke visibility:public modality:OPEN <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., p1:kotlin.Any?) returnType:kotlin.Any?
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER BRIDGE name:p1 index:0 type:kotlin.Any?
EXPRESSION_BODY
RETURN type=kotlin.Nothing from='public open fun invoke (p1: kotlin.Any?): kotlin.Any? declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.'
CALL 'public final fun invoke ($this$startKoin: org.koin.core.KoinApplication): kotlin.Unit declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=kotlin.Unit origin=BRIDGE_DELEGATION
$this: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
$this$startKoin: TYPE_OP type=org.koin.core.KoinApplication origin=IMPLICIT_CAST typeOperand=org.koin.core.KoinApplication
GET_VAR 'p1: kotlin.Any? declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Any? origin=null
CONSTRUCTOR_CALL 'public/package/ constructor ($appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration }) [primary] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
$appDeclaration: GET_VAR 'appDeclaration: @[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
Caused by: java.lang.RuntimeException: Exception while generating code for:
FUN name:invoke visibility:public modality:FINAL <> ($this:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin., $this$startKoin:org.koin.core.KoinApplication) returnType:kotlin.Unit
overridden:
public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1
$this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:dev.tutorial.kmpizza.di.CommonModuleKt.initKoin.
VALUE_PARAMETER name:$this$startKoin index:0 type:org.koin.core.KoinApplication
BLOCK_BODY
CALL 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 [operator] declared in kotlin.Function1' type=kotlin.Unit origin=INVOKE
$this: GET_FIELD 'FIELD FIELD_FOR_CAPTURED_VALUE name:$appDeclaration type:@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } visibility:public/package/ [final]' type=@[ExtensionFunctionType] kotlin.Function1<org.koin.core.KoinApplication, kotlin.Unit>{ org.koin.dsl.KoinApplicationKt.KoinAppDeclaration } origin=null
receiver: GET_VAR ': dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=dev.tutorial.kmpizza.di.CommonModuleKt.initKoin. origin=null
p1: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
COMPOSITE type=kotlin.Unit origin=null
CALL 'public final fun modules (vararg modules: org.koin.core.module.Module): org.koin.core.KoinApplication declared in org.koin.core.KoinApplication' type=org.koin.core.KoinApplication origin=null
$this: GET_VAR '$this$startKoin: org.koin.core.KoinApplication declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=org.koin.core.KoinApplication origin=null
modules: BLOCK type=kotlin.Array origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Array [val]
CALL 'public final fun arrayOfNulls (size: kotlin.Int): kotlin.Array<T of kotlin.arrayOfNulls?> declared in kotlin' type=kotlin.Array origin=null
: org.koin.core.module.Module
size: CONST Int type=kotlin.Int value=5
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=0
value: CALL 'public final fun access$getApiModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=1
value: CALL 'public final fun access$getRepositoryModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=2
value: CALL 'public final fun access$getViewModelModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=3
value: CALL 'public final fun (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di' type=org.koin.core.module.Module origin=GET_PROPERTY
CALL 'public final fun set (index: kotlin.Int, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
$this: GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
index: CONST Int type=kotlin.Int value=4
value: CALL 'public final fun access$getCoreModule$p (): org.koin.core.module.Module declared in dev.tutorial.kmpizza.di.CommonModuleKt' type=org.koin.core.module.Module origin=null
GET_VAR 'val tmp0: kotlin.Array [val] declared in dev.tutorial.kmpizza.di.CommonModuleKt.initKoin..invoke' type=kotlin.Array origin=null
COMPOSITE type=kotlin.Unit origin=null
Caused by: java.lang.IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen: FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:org.koin.core.module.Module
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:584)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.intrinsics.ArraySet.invoke(ArraySet.kt:32)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:581)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:576)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.visitors.IrElementVisitor$DefaultImpls.visitBlock(IrElementVisitor.kt:192)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:396)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlock(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlock.accept(IrBlock.kt:20)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.gen(ExpressionCodegen.kt:205)
at org.jetbrains.kotlin.backend.jvm.codegen.IrCallGenerator.genValueAndPut(IrCallGenerator.kt:48)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall$handleValueParameter(ExpressionCodegen.kt:606)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:619)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitCall(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrCall.accept(IrCall.kt:26)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:576)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitContainerExpression(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.visitors.IrElementVisitor$DefaultImpls.visitComposite(IrElementVisitor.kt:196)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitComposite(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitComposite(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrComposite.accept(IrComposite.kt:20)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitStatementContainer(ExpressionCodegen.kt:562)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:567)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.visitBlockBody(ExpressionCodegen.kt:134)
at org.jetbrains.kotlin.ir.expressions.IrBlockBody.accept(IrBlockBody.kt:25)
at org.jetbrains.kotlin.backend.jvm.codegen.ExpressionCodegen.generate(ExpressionCodegen.kt:228)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.doGenerate(FunctionCodegen.kt:122)
at org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:47)
... 83 more
The text was updated successfully, but these errors were encountered: