Skip to content

Fix kotlin example code which does not compile#26016

Closed
mindhaq wants to merge 1 commit intospring-projects:masterfrom
mindhaq:patch-1
Closed

Fix kotlin example code which does not compile#26016
mindhaq wants to merge 1 commit intospring-projects:masterfrom
mindhaq:patch-1

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 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.

3 participants