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

Compiler incorrectly reports missing required fields #4123

Closed
wants to merge 1 commit into from

Conversation

beaumontjonathan
Copy link
Contributor

Resolves #4122

Hi, I stumbled across this error when I misremembered the an enum variant and got a weird error. Took me awhile to figure out the issue because the compiler error was wrong.

I've added tests for both orderings & for the constant & variable cases.

Let me know if there's any other tests you'd like updating 😄

@facebook-github-bot
Copy link
Contributor

@alunyov has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler incorrectly reports missing required fields
2 participants