polarity-lang / polarity

A Language with Dependent Data and Codata Types
https://polarity-lang.github.io
Apache License 2.0
57 stars 2 forks source link

Preserve type annotations during normalization #382

Closed timsueberkrueb closed 2 days ago

timsueberkrueb commented 2 days ago

See #341. We now dismiss type annotations during unification, i.e. only after normalization.

codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 37.00000% with 63 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lang/elaborator/src/normalizer/val.rs 27.27% 32 Missing :warning:
lang/elaborator/src/normalizer/eval.rs 34.04% 31 Missing :warning:
Files with missing lines Coverage Δ
lang/ast/src/exp/anno.rs 90.38% <100.00%> (+9.61%) :arrow_up:
lang/elaborator/src/normalizer/env.rs 87.36% <ø> (+0.91%) :arrow_up:
lang/elaborator/src/result.rs 34.54% <ø> (+1.78%) :arrow_up:
lang/elaborator/src/unifier/unify.rs 86.16% <100.00%> (+1.29%) :arrow_up:
lang/elaborator/src/normalizer/eval.rs 77.82% <34.04%> (-7.21%) :arrow_down:
lang/elaborator/src/normalizer/val.rs 44.47% <27.27%> (-0.24%) :arrow_down:

... and 1 file with indirect coverage changes


🚨 Try these New Features: