-
Notifications
You must be signed in to change notification settings - Fork 743
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
Fix BInvokableType
record fields of effective types not inheriting readonly
flag
#42582
Fix BInvokableType
record fields of effective types not inheriting readonly
flag
#42582
Conversation
cdfb396
to
a4f21bd
Compare
BInvokableType
fields of effective types not inheriting readonly
flagBInvokableType
record fields of effective types not inheriting readonly
flag
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Closed PR due to inactivity for more than 18 days. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## openhealth-readonly-fix #42582 +/- ##
=============================================================
+ Coverage 77.29% 78.06% +0.76%
- Complexity 51352 58632 +7280
=============================================================
Files 2932 3492 +560
Lines 204510 232171 +27661
Branches 26691 32749 +6058
=============================================================
+ Hits 158086 181239 +23153
- Misses 37834 41436 +3602
- Partials 8590 9496 +906 ☔ View full report in Codecov by Sentry. |
...rd/cloned_record_field_flag_inheritance/imported_module_with_readonly_records/Ballerina.toml
Outdated
Show resolved
Hide resolved
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Closed PR due to inactivity for more than 18 days. |
0006b9d
into
ballerina-platform:openhealth-readonly-fix
Purpose
Fixes #42439
Approach
When generating the effective types, the original type is cloned. But during the cloning process the original flags of
BInvokableType
fields ofBRecordType
were not inherited properly. With this PR we fixed this inheritance issue.Samples
Remarks
Check List