Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kotlin example code which does not compile #26016

Closed
wants to merge 1 commit into from

Conversation

mindhaq
Copy link
Contributor

@mindhaq mindhaq commented Nov 2, 2020

This kotlin code does not compile:

Overload resolution ambiguity. All these functions match.

default RowsFetchSpec map(Function<Row, R> mappingFunction)

RowsFetchSpec map(BiFunction<Row, RowMetadata, R> mappingFunction);

This kotlin code does not compile:

Overload resolution ambiguity. All these functions match.

default <R> RowsFetchSpec<R> map(Function<Row, R> mappingFunction)

<R> RowsFetchSpec<R> map(BiFunction<Row, RowMetadata, R> mappingFunction);
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Nov 2, 2020
@sdeleuze sdeleuze self-assigned this Nov 2, 2020
@sdeleuze sdeleuze added this to the 5.3.1 milestone Nov 2, 2020
@sdeleuze sdeleuze added type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 2, 2020
sdeleuze pushed a commit to sdeleuze/spring-framework that referenced this pull request Nov 8, 2020
This kotlin code does not compile:
Overload resolution ambiguity. All these functions match.
default <R> RowsFetchSpec<R> map(Function<Row, R> mappingFunction)
<R> RowsFetchSpec<R> map(BiFunction<Row, RowMetadata, R> mappingFunction);

Closes spring-projectsgh-26016
sdeleuze pushed a commit to sdeleuze/spring-framework that referenced this pull request Nov 8, 2020
This kotlin code does not compile:
Overload resolution ambiguity. All these functions match.
default <R> RowsFetchSpec<R> map(Function<Row, R> mappingFunction)
<R> RowsFetchSpec<R> map(BiFunction<Row, RowMetadata, R> mappingFunction);

Closes spring-projectsgh-26016
@sdeleuze sdeleuze closed this in 2214ff8 Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants