-
Notifications
You must be signed in to change notification settings - Fork 63
Add support for tuples #1634
Copy link
Copy link
Open
Labels
New Language FeatureA proposal for a new feature to be added to the BrighterScript languageA proposal for a new feature to be added to the BrighterScript languageenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
New Language FeatureA proposal for a new feature to be added to the BrighterScript languageA proposal for a new feature to be added to the BrighterScript languageenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is likely too close to Generics support, but we could use some way to define arrays with fixed element count and types.
Typescript does it with tuple types:
I think the syntax here could be the same as Typescript's.