Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Map returned Unit to void in more cases when producing framework #2968

Merged
merged 2 commits into from
May 22, 2019

Conversation

SvyatoslavScherbina
Copy link
Collaborator

Including function-typed parameters and return types

}
)

private fun ObjCExportMapper.bridgeFunctionType(kotlinType: KotlinType): TypeBridge {
val numberOfParameters = kotlinType.arguments.size - 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better comment why -1, I guess.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@SvyatoslavScherbina SvyatoslavScherbina merged commit 9b8b947 into master May 22, 2019
@SvyatoslavScherbina SvyatoslavScherbina deleted the objcexport-void-blocks branch May 22, 2019 07:45
LepilkinaElena pushed a commit that referenced this pull request May 27, 2019
Including function-typed parameters and return types.
artdfel pushed a commit that referenced this pull request Jun 10, 2019
Including function-typed parameters and return types.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants