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

remove bad type inference behavior for enum identifiers (2.0) #23593

Draft
wants to merge 3 commits into
base: version-2-0
Choose a base branch
from

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented May 10, 2024

Adapts #23588 to version-2-0 branch

The test for #21257 is changed to give an ambiguous identifier error (the original issue was that it segfaulted), this is because ambiguous identifier resolution (#23123) is not in the 2.0 branch.

@Araq
Copy link
Member

Araq commented May 11, 2024

CI is red though.

@metagn
Copy link
Collaborator Author

metagn commented May 11, 2024

I missed one more failing test, which was from #20091 which introduced the bad behavior in the first place (and again works in devel because of ambiguous identifier resolution). Hopefully it should pass now.

@metagn
Copy link
Collaborator Author

metagn commented May 11, 2024

Apparently #23588 caused #23596 so this needs another change to go with it

@metagn metagn marked this pull request as draft May 11, 2024 18:31
@narimiran
Copy link
Member

@metagn What is the status of this one? Can you maybe take another look, so it'll be part of 2.0.6?

@metagn
Copy link
Collaborator Author

metagn commented May 28, 2024

Needs to combine with #23597 to deal with #23596 and there is also #23611 which is lower priority but needs a substantial revert to work. In any case touching this behavior at all breaks something, just maybe people haven't encountered the specific breaking cases yet. This is why I didn't update the backport version yet, it's too volatile with regards to breaks.

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.

None yet

3 participants