Skip to content

Add tests for capturing some ways that generics are permitted#1601

Merged
leighmcculloch merged 4 commits intomainfrom
add-generics-test
Oct 20, 2025
Merged

Add tests for capturing some ways that generics are permitted#1601
leighmcculloch merged 4 commits intomainfrom
add-generics-test

Conversation

@leighmcculloch
Copy link
Copy Markdown
Member

@leighmcculloch leighmcculloch commented Oct 20, 2025

What

Add a new test vectors that uses generic lifetimes with the contract macros.

Why

The soroban-sdk macros have limited support for generics. We should exercise them in the test vectors to ensure that support doesn't change over time.

For #1544

@leighmcculloch leighmcculloch mentioned this pull request Oct 20, 2025
8 tasks
@leighmcculloch leighmcculloch requested a review from a team October 20, 2025 03:06
@leighmcculloch leighmcculloch marked this pull request as ready for review October 20, 2025 03:06
@leighmcculloch leighmcculloch changed the title Add test for capturing some minor ways that generics are permitted Add tests for capturing some minor ways that generics are permitted Oct 20, 2025
@leighmcculloch leighmcculloch changed the title Add tests for capturing some minor ways that generics are permitted Add tests for capturing some ways that generics are permitted Oct 20, 2025
@leighmcculloch leighmcculloch added this pull request to the merge queue Oct 20, 2025
Merged via the queue into main with commit 434b9a8 Oct 20, 2025
88 checks passed
@leighmcculloch leighmcculloch deleted the add-generics-test branch October 20, 2025 18:19
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.

2 participants