Skip to content

Comments

Add support for error constructor expressions#191

Draft
heshanpadmasiri wants to merge 6 commits intoballerina-platform:mainfrom
heshanpadmasiri:feat/error-constructor
Draft

Add support for error constructor expressions#191
heshanpadmasiri wants to merge 6 commits intoballerina-platform:mainfrom
heshanpadmasiri:feat/error-constructor

Conversation

@heshanpadmasiri
Copy link
Member

Purpose

Resolves #185
Depends on #183

@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 72.25490% with 283 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.92%. Comparing base (0424063) to head (e73ab9a).

Files with missing lines Patch % Lines
ast/types.go 16.49% 79 Missing and 2 partials ⚠️
ast/expressions.go 6.89% 54 Missing ⚠️
ast/node_builder.go 71.52% 36 Missing and 7 partials ⚠️
semantics/semantic_analyzer.go 79.82% 17 Missing and 6 partials ⚠️
semtypes/mapping_alternative.go 59.18% 14 Missing and 6 partials ⚠️
semantics/type_resolver.go 86.02% 15 Missing and 4 partials ⚠️
ast/pretty_printer.go 95.20% 3 Missing and 3 partials ⚠️
ast/walk.go 85.36% 4 Missing and 2 partials ⚠️
bir/bir_gen.go 91.66% 6 Missing ⚠️
bir/non_terminator.go 50.00% 6 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #191      +/-   ##
==========================================
+ Coverage   27.99%   30.92%   +2.92%     
==========================================
  Files         254      254              
  Lines       53865    54673     +808     
==========================================
+ Hits        15082    16909    +1827     
+ Misses      37855    36755    -1100     
- Partials      928     1009      +81     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Add support for error constructor expressions

1 participant