Skip to content
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

[master] Fix typecast error thrown for default record field #43545

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

HindujaB
Copy link
Contributor

@HindujaB HindujaB commented Nov 4, 2024

Purpose

$subject

Fixes #43541

Approach

when populating the default values with record type, we need to handle the type-reference type as well.

Samples

Remarks

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.56%. Comparing base (2f3cada) to head (8ca5d9c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #43545   +/-   ##
=========================================
  Coverage     77.56%   77.56%           
+ Complexity    58736    58735    -1     
=========================================
  Files          3447     3447           
  Lines        219658   219658           
  Branches      28916    28916           
=========================================
+ Hits         170382   170383    +1     
+ Misses        39886    39883    -3     
- Partials       9390     9392    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@ravinperera00 ravinperera00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Typecast error thrown for typereference type default fields
2 participants