Skip to content

Add support for error constructor in the front end

e73ab9a
Select commit
Loading
Failed to load commit list.
Draft

Add support for error constructor expressions #191

Add support for error constructor in the front end
e73ab9a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 23, 2026 in 0s

30.92% (+2.92%) compared to 0424063

View this Pull Request on Codecov

30.92% (+2.92%) compared to 0424063

Details

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.