Incorrect return type of Kotlin suspending functions [SPR-16515] #21058
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Konrad Kamiński opened SPR-16515 and commented
The return type of Kotlin suspending functions (as returned via
getParameterType()
andgetGenericParameterType()
methods ofMethodParameter
) is incorrect. The true return type is actually a generic type of the last parameter of the method.This issue affects spring-kotlin-coroutine library, specifically issues #10 and #14.
This issue is related to #19975.
Affects: 5.0.3
Issue Links:
Referenced from: pull request #1694
2 votes, 6 watchers
The text was updated successfully, but these errors were encountered: