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

Use TypeKind::Array instead of TypeKind::Constructor for arrays #682

Closed kevinbarabash closed 1 year ago

kevinbarabash commented 1 year ago

This finishes up the work needed to address #650.

codecov[bot] commented 1 year ago

Codecov Report

Merging #682 (58ac0d4) into main (9ba2a33) will increase coverage by 0.05%. The diff coverage is 82.50%.

@@            Coverage Diff             @@
##             main     #682      +/-   ##
==========================================
+ Coverage   88.77%   88.83%   +0.05%     
==========================================
  Files         109      109              
  Lines       24093    24112      +19     
==========================================
+ Hits        21389    21419      +30     
+ Misses       2704     2693      -11     
Files Changed Coverage Δ
crates/escalier_hm/src/util.rs 77.56% <57.14%> (-0.61%) :arrow_down:
crates/escalier_hm/src/infer.rs 91.91% <91.66%> (-0.03%) :arrow_down:
crates/escalier_hm/src/types.rs 80.72% <100.00%> (+0.12%) :arrow_up:
crates/escalier_hm/src/unify.rs 82.52% <100.00%> (-0.05%) :arrow_down:

... and 6 files with indirect coverage changes