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

For error reporting, assume a struct is not a tuple when ambiguous #20762

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tau-dev
Copy link
Contributor

@tau-dev tau-dev commented Jul 23, 2024

Fixes #14334: non-tuples are more common, and forgetting a type or name from a struct field is an easier mistake to make than adding a name to a tuple field.

Fixes ziglang#14334: non-tuples are more common, and forgetting a type or name
from a struct field is an easier mistake to make than adding a name to a
tuple field.
@tau-dev tau-dev force-pushed the improve-struct-tuple-errors branch from 0c0945a to fd119ca Compare October 3, 2024 13:59
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.

Error message assumes struct is a tuple when some members miss type
1 participant