Skip to content

Avoid collision in Bolt11Invoice::description #576

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

Merged
merged 1 commit into from
Jun 18, 2025

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:25
@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 merged commit 18fd2b7 into lightningdevkit:release/0.6 Jun 18, 2025
10 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