After skimming through the reported issues in this...
# jvm-ir-backend-feedback
c
After skimming through the reported issues in this channel and checked the title of related crash, I would like to share a new runtime crash https://youtrack.jetbrains.com/issue/KT-44993
Copy code
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/chaozhang/kotlinirapp/MainKt$fetchCards$1.apply(Lcom/chaozhang/kotlinirapp/Resource;)Ljava/util/List; @24: getfield
  Reason:
    Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'com/chaozhang/kotlinirapp/JavaCollectionTemplate'
  Current Frame:
    bci: @24
    flags: { }
    locals: { 'com/chaozhang/kotlinirapp/MainKt$fetchCards$1', 'com/chaozhang/kotlinirapp/Resource', 'com/chaozhang/kotlinirapp/Resource', 'java/lang/Object' }
    stack: { 'java/lang/Object' }
  Bytecode:
    0000000: 2b4d 2cc7 0007 01a7 0014 2cb4 0016 4e2d
    0000010: c700 0701 a700 072d b400 1cb0          
  Stackmap Table:
    append_frame(@10,Object[#18])
    append_frame(@23,Object[#5])
    full_frame(@27,{Object[#2],Object[#18],Object[#18]},{Object[#32]})

        at com.chaozhang.kotlinirapp.MainKt.fetchCards(Main.kt:9)
        at com.chaozhang.kotlinirapp.MainKt.main(Main.kt:4)
👍 1