[Bug]: SymbolFlags.isFlagOn
methos is not working properly for readonly types
#43484
Labels
Area/Compiler
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
Description
The
SymbolFlags.isFlagOn(SymbolFlags.READONLY, type.getFlags())
is not working properly when we try to check aBtype
is readonly or not.Please refer to https://github.com/ballerina-platform/module-ballerina-data.jsondata/pull/45/files#r1796678932 for more details.
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
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: