Skip to content
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

Reduce visitors in slice2cs #3460

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

bernardnormier
Copy link
Member

This PR consolidates the visitors in the slice2cs implementation.

// Emit a dummy class that causes a compile-time error if the
// custom sequence type does not implement an indexer.
//
_out << sp;
Copy link
Member

Choose a reason for hiding this comment

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

I assume this was already there, but seems and odd test. If a sequence doesn't implement the required methods the code should already fail to compile.

Copy link
Member Author

Choose a reason for hiding this comment

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

We need to review this code in a follow-up PR.

@bernardnormier bernardnormier merged commit 7553a48 into zeroc-ice:main Jan 31, 2025
22 of 23 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