-
Notifications
You must be signed in to change notification settings - Fork 755
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
[Bug]: When inferring type for query-exp, collections of types other than query construct types should throw an error #37670
Comments
But isn't it better if we return |
If the user actually needs to create an public function main() {
int[] res = from string i in "XYZ" //this works
select 1;
} |
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now. |
This issue reopened due to #40497 |
As per https://ballerina.io/spec/lang/master/#section_6.35.10, |
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now. |
Description
From the spec https://ballerina.io/spec/lang/master/#section_6.35:
Steps to Reproduce
No response
Affected Version(s)
2201.2.0
OS, DB, other environment details and versions
No response
Labels
CompilerFE
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: