escalier-lang / escalier

A compile-to-JavaScript language with tight TypeScript integration.
https://escalier-lang.github.io/escalier/
MIT License
21 stars 1 forks source link

Replace Errors enum with TypeError struct in escalier_hm #672

Closed kevinbarabash closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #672 (487c8f2) into main (bd34574) will decrease coverage by 0.12%. The diff coverage is 64.34%.

@@            Coverage Diff             @@
##             main     #672      +/-   ##
==========================================
- Coverage   90.70%   90.58%   -0.12%     
==========================================
  Files         104      105       +1     
  Lines       21949    22022      +73     
==========================================
+ Hits        19908    19949      +41     
- Misses       2041     2073      +32     
Files Changed Coverage Δ
crates/escalier_hm/src/diagnostic.rs 0.00% <0.00%> (ø)
crates/escalier_hm/src/lib.rs 100.00% <ø> (ø)
crates/escalier_hm/src/type_error.rs 25.00% <25.00%> (ø)
crates/escalier_hm/src/util.rs 78.28% <33.73%> (-0.58%) :arrow_down:
crates/escalier_hm/src/unify.rs 82.61% <57.24%> (-1.48%) :arrow_down:
crates/escalier_hm/src/infer_pattern.rs 92.76% <80.00%> (+0.03%) :arrow_up:
crates/escalier_hm/src/infer.rs 91.70% <95.16%> (+0.13%) :arrow_up:
crates/escalier_hm/src/context.rs 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes