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

Improve the error message in a Y061 edge case #445

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

AlexWaygood
Copy link
Collaborator

Currently we're recommending code that we'd immediately complain about if the user actually used it. We shouldn't do that. Possibly we could introduce another error code emitting an error for duplicate Literal members, but for now I'd just like to fix the Y061 error message.

Copy link

github-actions bot commented Nov 8, 2023

This change has no effect on typeshed. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit b67dd0f into main Nov 8, 2023
21 checks passed
@JelleZijlstra JelleZijlstra deleted the duplicate-literal-members branch November 8, 2023 14:30
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

2 participants