Closed kevinbarabash closed 4 months ago
Attention: Patch coverage is 69.23077%
with 28 lines
in your changes missing coverage. Please review.
Project coverage is 83.75%. Comparing base (
f029074
) to head (ca6ecec
).
Files | Patch % | Lines |
---|---|---|
src/Escalier.TypeChecker/Infer.fs | 70.78% | 26 Missing :warning: |
src/Escalier.TypeChecker/Unify.fs | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR updates
inferBlock
(which infers function bodies, if/else blocks, etc.) to use the same internals asinferModule
and after a few minor tweaks (around when to generalize or not) all the tests are passing. There are still some test cases that usinginferScript
that will need to be migrated over toinferModule
, hopefully I don't run into too many issues with that. I'll tackle that in a followup PR.