Skip to content

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Jun 17, 2025

When exporting Display to bindings, Swift will add a description method to the respective object. Unfortunately, this collides with Bolt11Invoice::description, which we therefore rename to Bolt11Invoice::invoice_description.

Discovered by actually testing the changes in #573/#574 in Xcode.

When exporting `Display` to bindings, Swift will add a `description`
method to the respective object. Unfortunately, this collides with
`Bolt11Invoice::description`, which we therefore rename to
`Bolt11Invoice::invoice_description`.
@tnull tnull requested a review from valentinewallace June 17, 2025 13:26
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jun 17, 2025

👋 Thanks for assigning @valentinewallace as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull changed the title Avoid collision in Bolt11Invoice::description Avoid collision in Bolt11Invoice::description (main) Jun 17, 2025
@tnull tnull merged commit 2a0d2b6 into lightningdevkit:main Jun 18, 2025
9 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants