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

Tuple members should be optionally named #1275

Open
karthiknadig opened this issue Jul 18, 2023 · 2 comments
Open

Tuple members should be optionally named #1275

karthiknadig opened this issue Jul 18, 2023 · 2 comments
Labels
feature-request Request for new features or functionality metaModel
Milestone

Comments

@karthiknadig
Copy link
Member

Example:
(uint inclusiveStart, uint exclusiveEnd)

/cc @CyrusNajmabadi

@dbaeumer
Copy link
Member

dbaeumer commented Aug 7, 2023

This will not be easy to achieve since TS doesn't support it and we generate the meta model out of TS Code. One idea would be to use special comments.

@dbaeumer dbaeumer added this to the 3.18 milestone Aug 7, 2023
@dbaeumer dbaeumer added feature-request Request for new features or functionality and removed feature request labels Nov 17, 2023
@dbaeumer
Copy link
Member

dbaeumer commented Jul 8, 2024

I looked into this and this is actually not easy to achieve without putting stuff into comments. Can someone explain in which programming language tuple types require names? My be I can borrow a syntax from there.

@dbaeumer dbaeumer modified the milestones: 3.18, On Deck Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality metaModel
Projects
None yet
Development

No branches or pull requests

2 participants