Kev
04/30/2024, 10:28 AMKev
04/30/2024, 10:28 AMkotlin.reflect.jvm.internal.KotlinReflectionInternalError: Inconsistent number of parameters in the descriptor and Java reflection object: 7 != 6
type errorsYoussef Shoaib [MOD]
04/30/2024, 12:05 PMCLOVIS
04/30/2024, 12:37 PMsuspend
, adding a context receiver will not make it a suspend
Kev
05/01/2024, 5:22 AMRiccardo Cardin
05/01/2024, 10:05 AMWesley Hartford
05/01/2024, 4:24 PMsuspend
to a function signature adds a hidden Continuation
parameter to the function.simon.vergauwen
05/02/2024, 10:03 AMContinuation
param being added, and some other reflection tool looking for the function without continuations.
Are you using any library that uses reflection, that is interacting with a suspend
method?Kev
05/02/2024, 12:44 PMsimon.vergauwen
05/02/2024, 1:03 PMsuspend
somewhere where it's not actually used? inline
might also be messing something up, but that'd be an compile & runtime issue instead of just runtime 🤕raulraja
05/02/2024, 3:39 PMvalue class
?. There are bugs that seems related still open https://youtrack.jetbrains.com/issue/KT-55395/Reflection-KotlinReflectionInternalError-I[…]ameters-with-javaMethod-on-function-with-context-receiver for stuff related to reflectionKev
05/03/2024, 5:02 AM