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

Testing change to concept binding #24443

Closed
wants to merge 2 commits into from

Conversation

Graveflo
Copy link
Contributor

This breaks the ability to reference constants defined in concept's body. In order for them to be accessible the type of an operand must get wrapped into the concepts type, as opposed to the generic construct (the concept type here) being formal and a concrete type bound to the operand. I am unaware of anything else that behaves like this and it doesn't seem to make sense to me. I don't think the compiler likes it very much either, but maybe that is a separate problem. Not sure about this one, but I want to run the CI and see what happens.

@Graveflo
Copy link
Contributor Author

I still think this behavior is weird and the CI failures could be "fixed", but I don't think it's worth it. New style concepts seem to solve my issues.

@Graveflo Graveflo closed this Nov 18, 2024
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.

1 participant