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

Expose enum variant fields on interface Variant #253

Closed
Tracked by #241
staniewzki opened this issue Dec 30, 2022 · 0 comments · Fixed by #259
Closed
Tracked by #241

Expose enum variant fields on interface Variant #253

staniewzki opened this issue Dec 30, 2022 · 0 comments · Fixed by #259
Assignees

Comments

@staniewzki
Copy link
Collaborator

staniewzki commented Dec 30, 2022

I created this issue to track task assignments.

Original description:
- they are already available on type StructVariant
- the edge on type PlainVariant should exist but never produce any vertices
- the edge on type TupleVariant should produce fields similarly to how tuple structs produce their fields
- new lints enabled by this:
- tuple variant field removed
- exhaustive tuple variant field added

@staniewzki staniewzki self-assigned this Dec 30, 2022
@staniewzki staniewzki changed the title expose enum variant fields on interface Variant Expose enum variant fields on interface Variant Dec 30, 2022
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 a pull request may close this issue.

1 participant