Skip to content

Incorrect return type of Kotlin suspending functions [SPR-16515] #21058

Closed

Description

@spring-projects-issues

Konrad Kamiński opened SPR-16515 and commented

The return type of Kotlin suspending functions (as returned via getParameterType() and getGenericParameterType() methods of MethodParameter) 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

Activity

  1. spring-projects-issues commented on May 17, 2018

    @spring-projects-issues
    CollaboratorAuthor
  2. spring-projects-issues commented on Jul 7, 2018

    @spring-projects-issues
    CollaboratorAuthor

    Sébastien Deleuze commented

    Since we have not been able to progress on the question raised on the PR, and given the fact I would like to propose supporting Coroutines for 5.2, I think it is better to target 5.2 as well for that one.

  3. added
    type: enhancement
    in: core
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions