In <my project> I’m seeing something pretty strang...
# compiler
k
In my project I’m seeing something pretty strange when upgrading to Kotlin 2.1.20-RC. Looks to be a LLVM failure?
Copy code
e: Compilation failed: Invalid LLVM module
Verification errors:
    Call parameter type does not match function signature!
      %40 = call zeroext i1 @"kfun:io.github.kevincianfarini.monarch.BooleanFeatureFlag#<get-default>(){}kotlin.Boolean-trampoline"(ptr %39), !dbg !1058
     ptr  %41 = call zeroext i1 @"kfun:kotlin#<Boolean-unbox>(kotlin.Any){}kotlin.Boolean"(i1 %40), !dbg !1058
    Call parameter type does not match function signature!
      %78 = call double @"kfun:io.github.kevincianfarini.monarch.DoubleFeatureFlag#<get-default>(){}kotlin.Double-trampoline"(ptr %77), !dbg !1074
     ptr  %79 = call double @"kfun:kotlin#<Double-unbox>(kotlin.Any){}kotlin.Double"(double %78), !dbg !1074
Any tips on where to begin debugging this? Everything works fine in Kotlin 2.1.10.
Seems like this issue might be related to this YouTrack issue, however I’m not sure why I’m only now experiencing this.