kevin.cianfarini
02/24/2025, 9:32 PMe: 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.kevin.cianfarini
02/24/2025, 9:32 PMtapchicoma
02/25/2025, 8:12 AMsergey.bogolepov
02/25/2025, 8:45 AMsvyatoslav.scherbina
02/25/2025, 10:44 AMkevin.cianfarini
02/25/2025, 11:56 AMkevin.cianfarini
02/25/2025, 12:15 PMsvyatoslav.scherbina
02/25/2025, 12:42 PMThe project I linked above reproduces this simply by updating the kotlin version to the RC and running iOS tests. Happy to create a PR if that's helpful?No, I've already reproduced the issue, so no need for that.
In the YouTrack filed above it says that 2.1.20-Beta1 is affected but this also affects the RC.That field basically means that 2.1.20-Beta1 is the first version affected by the problem. It naturally affects all further versions until fixed.
Do we think this will be something resolved before 2.1.20 final?Likely.
kevin.cianfarini
02/25/2025, 1:26 PM