Clarification on the member type of constructed arrays using query expressions #1309
Labels
Area/Lang
Relates to the Ballerina language specification
spec/undefined
Spec does not define some behavour
Type/Improvement
Enhancement to language design
Description:
The spec clearly explains how to derive the basic type (constructed collection type) from a query expression. However, it does not address how to determine the member type when constructing an array.
This issue arises when a user attempts to add an element to an array and encounters an error indicating an inherent type violation.
Suggested Labels:
Code sample that shows issue:
Related Issues:
The text was updated successfully, but these errors were encountered: