We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
add readonly type test cases There are already usages for read-only values refer comment: Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (review) Object read-only check for annotations is skipped for now. This issue is created to add unit test cases for other scenarios.
We can do regex expression check for unit test cases from ballerina side as well. Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (comment)
Fix PR suggestion: Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (comment)
Add a test case to reflect runtime changes. We have override copy, freezeDirect like methods to allow Abstract objects for cloneReadOnly.
type Annot record {| service s; object {} t; handle u; typedesc v; function () w; |};
Related Issues (optional): #24217 (objects are skipped for now) #24246 (enable readonly object checks for annotation value)
Suggested Labels (optional): Area/Language
Suggested Assignees (optional): KRV/Perera
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description:
add readonly type test cases
There are already usages for read-only values
refer comment: Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (review)
Object read-only check for annotations is skipped for now. This issue is created to add unit test cases for other scenarios.
We can do regex expression check for unit test cases from ballerina side as well.
Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (comment)
Fix PR suggestion:
Restrict annotation value to true, map<anydata|readonly> , map<anydata|readonly>[] #23473 (comment)
Add a test case to reflect runtime changes.
We have override copy, freezeDirect like methods to allow Abstract objects for cloneReadOnly.
Related Issues (optional):
#24217 (objects are skipped for now)
#24246 (enable readonly object checks for annotation value)
Suggested Labels (optional):
Area/Language
Suggested Assignees (optional):
KRV/Perera
The text was updated successfully, but these errors were encountered: